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.

35 lines
921 B

3 years ago
  1. " General
  2. set number " Show line numbers
  3. set linebreak " Break lines at word (requires Wrap lines)
  4. set showbreak=+++ " Wrap-broken line prefix
  5. set textwidth=100 " Line wrap (number of cols)
  6. set showmatch " Highlight matching brace
  7. set visualbell " Use visual bell (no beeping)
  8. " Use vim defaults (drop compatibility with vi)
  9. set nocompatible
  10. syntax on " Enable syntax highlight
  11. " more powerfull backspace
  12. set ruler " Show cursor position
  13. set modeline " Enable modelines
  14. set showcmd " Show incomplete commands
  15. set ttymouse=xterm2 " Make mouse works inside screen terminal emulator
  16. "Spell
  17. au BufRead *.txt setlocal spell
  18. au BufRead *.org setlocal spell
  19. au BufRead *.md setlocal spell
  20. set langmenu=en_US
  21. " Autofix some mistakes
  22. cab W w
  23. cab Wq wq
  24. cab wQ wq
  25. cab WQ wq
  26. cab Q q
  27. " Plugins manager
  28. call plug#begin()
  29. " NerdTree
  30. Plug 'preservim/NERDTree'
  31. Plug 'tpope/vim-speeddating'
  32. Plug ' jceb/vim-orgmode'
  33. call plug#end()