thantzinz

ansible_vim

Oct 27th, 2020 (edited)
938
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. autocmd FileType yaml setlocal ai ts=2 sw=2 et nu colorcolumn=1,3,5,7,9,11,13
  2. "ai = auto indent ( in json format, auto indent )
  3. "si = smart indent
  4.  
  5.  
  6. set ts=2
  7. set sts=2 (during insert, press backspace to 2, if not 1 space)
  8. set sw=2
  9. set expandtab
  10.  
  11. syntax on
  12. filetype indent plugin on
  13.  
  14. set ruler
  15.  
  16.  
  17. set cursorline        # highlight current line
  18. set cursorcolumn # highlight current column
RAW Paste Data