News for hackers. Stuff that matters.
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

    } else if (...) {
line, repeat... To go the other direction, ^ moves you to the first non-white character, the close brace.
Re:Everyone Who Tried to Convince Me to Use Vim Was Wrong by yourkin on Saturday July 31, 2010 @07:45AM (#1563603)
The top row in US Dvorak is exactly the same as on QWERTY -- $, % and ^ don't change places.