Advertisement
thantzinz

.vimrc

Aug 12th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. " size of a hard tabstop
  2. set tabstop=4
  3.  
  4. " always uses spaces instead of tab characters
  5. set expandtab
  6.  
  7. " size of an "indent"
  8. set shiftwidth=4
  9.  
  10. set ts=4 sw=4 et
  11. 5>> Indent 5 lines
  12. ######################
  13. set et sts=4 sw=2 nu ic autoindent cursorline
  14. syntax on
  15. set ruler
  16. #####################
  17. set et ts=4 sts=4 autoindent cursorline cursorcolumn ruler
  18. set paste "temporarily disable auto indent
  19. set ignorecase || set ic "case insensitive search"
  20. #####################
  21. :h autoindent
  22. :h paste
  23. #####################
  24. :set <<-- options with non-default vaules
  25. :set all <<-- all options including default
  26. :ls <<-- buffer
  27. :history <<-- your commands
  28.  
  29. autoindent = ai
  30. #####################
  31. autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
  32.  
  33. https://www.krenger.ch/blog/vim-settings-for-yaml-files/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement