Tip #314: Insert and back...
tip karma |
Rating 13/10, Viewed by 1846
|
created: |
|
August 14, 2002 16:29 |
|
complexity: |
|
intermediate |
author: |
|
Alex A. Naanou |
|
as of Vim: |
|
5.7 |
this is related to vimtip #289 in terms of programmers (like I) too lazy to move their hands to reach the far far away <esc> key.... joking! :)
actually the less your hands move around the faster you type, and the fester you type the more time you have on your hands to think of "what" you type...
here is a small snippet from my mappings file, ready to speed things up:
// the key overloading might be a somewhat confusing at first....
--cut---
imap <S-Space> <esc>l
imap <C-CR> <esc>o
imap <S-CR> <esc>O
nmap <S-Space> i
nmap <space><space> i
nnoremap <CR> o
nmap <S-CR> O
---uncut---
Good luck!!
<<printing using kprinter (unix + kde) |
"Smart <home>" >>
Additional Notes
|