4 ms·
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-e
by ralph 16y ago
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.
- yourkin 16y agoThe top row in US Dvorak is exactly the same as on QWERTY -- $, % and ^ don't change places.