News for hackers. Stuff that matters.
Re:Vim is a great text editor - try it by msg on Friday October 02, 2009 @10:51AM (#857121)
You left out hjkl and C-bnpf, the cursor. And / and C-s, search. These are the only things I know in vi but it makes it barely usable for config.
Re:Vim is a great text editor - try it by silentbicycle on Friday October 02, 2009 @01:29PM (#857520)
If you're using vi/vim for real programming, you'll want to know about tag searching as well - it's one of the better ways to deal with multi-file source code. In both nvi and vim, control-] jumps to the tag under the cursor, and control-t pops back to the previous context. (You'll need to run a program such as ctags on the source to create the tag index first.)