vimperatorrc 820 B

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