Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. set ignorecase
  2.  
  3. nnoremap j jzz
  4. nnoremap k kzz
  5. nnoremap h hzz
  6. nnoremap l lzz
  7. nnoremap o o<ESC>zzi
  8. nnoremap O O<ESC>zzi
  9. nnoremap i zzi
  10. nnoremap a zza
  11. nnoremap I zzI
  12. nnoremap A zzA
  13. inoremap <ESC> <ESC>zz
  14. inoremap <CR> <CR><ESC>zzi
  15. nnoremap dd ddzz
  16. vnoremap d dzz
  17. nnoremap G Gzz
  18.  
  19.  
  20. nnoremap ' ,
  21.  
  22. nnoremap ,w :w<CR>:run<CR>zz
  23. nnoremap ,q :q<CR>
  24.  
  25. nnoremap ,, :xhelp<CR>
  26. nnoremap <SPACE> :xhelp<CR>
  27. nnoremap ,in :xccmd showInFinder<CR>
  28.  
  29. nnoremap zn :xcmenucmd Jump to Next Issue<CR>zz
  30. nnoremap zp :xcmenucmd Jump to Previous Issue<CR>zz
  31.  
  32. " Moving around
  33. nnoremap L :xccmd selectNextTab<CR>zz
  34. nnoremap H :xccmd selectPreviousTab<CR>zz
  35.  
  36.  
  37. " Folding
  38. nnoremap zO zR
  39. nnoremap zM :xccmd foldAllMethods<CR>:xccmd foldAllComments<CR>zz
  40.  
  41. nnoremap zc zczz
  42. nnoremap zo zozz
  43.  
  44. " Commenting
  45. nnoremap ,c :xcmenucmd Comment Selection<CR>
  46. nnoremap ,u :xcmenucmd Comment Selection<CR>
  47. vmap ,c :xcmenucmd Comment Selection<CR>
  48. vmap ,u :xcmenucmd Comment Selection<CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement