Re:Everyone Who Tried to Convince Me to Use Vim Was Wrong
by ralph on Friday July 30, 2010 @01:33PM
(#1561875)
vi commands $, %. and ^ are conveniently placed on QWERTY; Shift-4/5/6. If you use the one true style of braces for your C code then you can move through if-else-if chains quickly. $ moves to the end of the line, placing you on the open brace, % moves to the matching close brace at the start of the next
line, repeat... To go the other direction, ^ moves you to the first non-white character, the close brace.
[ Parent
| on HN ]