.vimperatorrc 722 B

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