Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " size of a hard tabstop
- set tabstop=4
- " always uses spaces instead of tab characters
- set expandtab
- " size of an "indent"
- set shiftwidth=4
- set ts=4 sw=4 et
- 5>> Indent 5 lines
- ######################
- set et sts=4 sw=2 nu ic autoindent cursorline
- syntax on
- set ruler
- #####################
- set et ts=4 sts=4 autoindent cursorline cursorcolumn ruler
- set paste "temporarily disable auto indent
- set ignorecase || set ic "case insensitive search"
- #####################
- :h autoindent
- :h paste
- #####################
- :set <<-- options with non-default vaules
- :set all <<-- all options including default
- :ls <<-- buffer
- :history <<-- your commands
- autoindent = ai
- #####################
- autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
- https://www.krenger.ch/blog/vim-settings-for-yaml-files/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement