vimperatorrc 744 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. """"""""""""""""""""""""
  2. " Options
  3. """"""""""""""""""""""""
  4. " gui options
  5. set gui=nonavigation,tabs,bookmarks,addons
  6. " set status=location
  7. " don't focus on inputs/textfields when we navigate to a page
  8. set focuscontent
  9. """"""""""""""""""""""""
  10. " Mappings
  11. """"""""""""""""""""""""
  12. let mapleader = ","
  13. " Insert mode! Focus on first imput
  14. nmap i gi
  15. " Faster navigation of buffers
  16. " vim up/down/left/right = half paging and tab switching
  17. nmap j <C-d>
  18. nmap k <C-u>
  19. nmap l gt
  20. nmap h gT
  21. " Slower page navigation
  22. nmap J 5<Down>
  23. nmap K 5<Up>
  24. nmap L 5<Left>
  25. nmap H 5<Right>
  26. " screen/tmux-like switch to previous tab
  27. nmap <C-a><C-a> <C-^>
  28. " reload config
  29. nmap <C-r> :source ~/.vimperatorrc<CR>:echo "Configuration Reloaded (~/.vimperatorrc)"<CR>