lacroix42

vimrc

Jan 8th, 2017
654
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.77 KB | None | 0 0
  1. " vimrc for me. Much of it shamelessly stolen from various places
  2. " on the net, including:
  3. " http://amix.dk/vim/vimrc.html
  4. "
  5. " Initial creation: 2017-01-07
  6.  
  7. " Set the tabstop to be two chars (helps with Ansible reading)
  8. set tabstop=2
  9.  
  10. " Indentation - auto and smart
  11. set ai
  12. set si
  13.  
  14. " Use spaces instead of tabs. Helps with Ansible, somewhat, but I'm a little
  15. " ambivalent. Therefore, it's not active by default.
  16. " set expandtab
  17.  
  18. " Highlighting. Please?
  19. set showmatch
  20. set hlsearch
  21.  
  22. " ignore case when searching
  23. set ignorecase
  24.  
  25. " Always show current position
  26. set ruler
  27.  
  28. " Height of the command bar
  29. set cmdheight=1
  30.  
  31. " Yes, line numbers, Timmy.
  32. set nu
  33.  
  34. " Makes search act like search in modern browsers
  35. " (that is, it matches on each char)
  36. set incsearch
Advertisement