?

Log in

No account? Create an account
night. - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

night. [Jan. 13th, 2001|01:45 am]
Brad Fitzpatrick
back from running (back awhile ago, actually).

learning vi, using some handle quick references. i absolutely love how you can proceed a command with a number to do it multiple times. as far as I know, emacs can't do that so easily. and I love how intuitive the editing commands are... 0 for beginning, $ for end of line (which makes sense if you know regular expressions), and then d0 and d$ delete to beginning of line and end of line... so damn cool.

talking to dystopia now, and cleaning my inbox, and working on LJ.
LinkReply

Comments:
[User Picture]From: strawberrygirl
2001-01-13 03:34 am (UTC)
Just wanted to see the LJ creator's journal.

I have problems sleeping too. Damn insomnia!
(Reply) (Thread)
[User Picture]From: stevenh
2001-01-13 10:08 am (UTC)

vi

vi is a good editor. Very helpful feature is ability to jump from an open brace to the corresponding close brace.
(Reply) (Thread)
[User Picture]From: grahams
2001-01-13 11:05 am (UTC)

Re: vi

BTW, The stroke to do brace matching (while in command mode) is the % key.

vi is like a total onion, you constantly discover cooler features like named registers, they are way cool... Think of it as a way to keep multiple "clipboard" entries and access them based on the name (character) you store them in...

vim is a good vi clone, with additional features (which can be turned off), and its help is very useful to beginners.
(Reply) (Parent) (Thread)
[User Picture]From: jlb
2001-01-13 12:07 pm (UTC)

vi

It took me the longest time to finally learn vi. Eventually I was using so many solaris boxes that didn't come with anything else, I got tired of installing other editors and started learning vi.


Now I don't think I could really live without it. So flexible.


You should stay away from that dirty emacs!

(Reply) (Thread)
[User Picture]From: chris
2001-01-13 08:16 pm (UTC)

Vi Vs. Emacs

I used to be an emacs zealot, and was forced to use vi for a while, and have come to the conclusion that it is a much better *editor*. For *composing* things on the other hand (like code) I can't stand using it for more than a minute or two.
(Reply) (Thread)
[User Picture]From: bradfitz
2001-01-13 08:24 pm (UTC)

Re: Vi Vs. Emacs

That's consistent with what I've felt so far... I hate having to switch between modes by reaching up to escape all the time... it's easier for my pinky finger to go hit control than it is for my whole left hand to move up to hit esc.
(Reply) (Parent) (Thread)