Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. " use emacs key bind during command mode and a movement of insert mode
  2. " start of line
  3. cnoremap <c-a> <Home>
  4. inoremap <c-a> <Home>
  5. " back one character
  6. cnoremap <c-b> <Left>
  7. inoremap <c-b> <Left>
  8. " delete character under cursor
  9. cnoremap <c-d> <Del>
  10. inoremap <c-d> <Del>
  11. " end of line
  12. cnoremap <c-e> <End>
  13. inoremap <c-e> <End>
  14. " forward one character
  15. cnoremap <c-f> <Right>
  16. inoremap <c-f> <Right>
  17. " recall newer command-line
  18. cnoremap <c-n> <Down>
  19. " recall previous (older) command-line
  20. cnoremap <c-p> <Up>
  21. " delete character backward
  22. cnoremap <c-h> <BS>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement