basic.vim 729 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. set nocompatible
  2. " set vim paths
  3. set undodir="~/.cache/vim/undo"
  4. set viminfo="~/.cache/vim/viminfo"
  5. set runtimepath+="~/.config/vim"
  6. " make :find recursive
  7. set path+=**
  8. " display all files for tab completion
  9. set wildmenu
  10. " making me comfortable
  11. set nu
  12. set tabstop=4 softtabstop=4
  13. set shiftwidth=4
  14. set expandtab
  15. set nosmartindent
  16. set nocindent
  17. set smartcase
  18. set noswapfile
  19. set nobackup
  20. set incsearch
  21. set spelllang=de_ch,en
  22. set noshowmode
  23. " if hidden is not set, TextEdit might fail.
  24. set hidden
  25. " set height below statusline
  26. set cmdheight=1
  27. " faster update time for diagnostic messages (default is 4000)
  28. set updatetime=300
  29. " always show signcolumns
  30. set signcolumn=yes
  31. set colorcolumn=80
  32. " set encoding
  33. set encoding=utf-8