You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
845 B

  1. " call plug#begin(expand('~/.vim/plugged'))
  2. "
  3. "
  4. "
  5. "
  6. " call plug#end()
  7. " visual
  8. syntax on
  9. set ruler
  10. set number
  11. set title
  12. set titlestring=nvim-%F
  13. set t_Co=256
  14. set cursorline
  15. set background=dark " for the dark version
  16. " abbreviations
  17. cnoreabbrev W! w!
  18. cnoreabbrev Q! q!
  19. cnoreabbrev Qall! qall!
  20. cnoreabbrev Wq wq
  21. cnoreabbrev Wa wa
  22. cnoreabbrev wQ wq
  23. cnoreabbrev WQ wq
  24. cnoreabbrev W w
  25. cnoreabbrev Q q
  26. cnoreabbrev Qall qall
  27. cnoreabbrev Qa qa
  28. "" Switching windows
  29. noremap <C-j> <C-w>j
  30. noremap <C-k> <C-w>k
  31. noremap <C-l> <C-w>l
  32. noremap <C-h> <C-w>h
  33. "" esc mapping
  34. inoremap jk <ESC>
  35. tnoremap jk <C-\><C-n>
  36. " scroll
  37. set scrolloff=5 " keep at least 5 lines above/below
  38. set sidescrolloff=5 " keep at least 5 lines left/right
  39. colorscheme torte
  40. set background=dark
  41. hi statusline ctermfg=234 ctermbg=250
  42. hi LineNr ctermfg=246