diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 17:58:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 17:58:48 +1200 |
commit | f9f1d3ba9426a6371b665541c84d84caffa33209 (patch) | |
tree | dedc01ca7ea44c77f7742d1b0b46e4506d6798dc | |
parent | Set filetype-appropriate 'foldlevel' (diff) | |
download | dotfiles-f9f1d3ba9426a6371b665541c84d84caffa33209.tar.gz dotfiles-f9f1d3ba9426a6371b665541c84d84caffa33209.zip |
Enable 'smarttab' in Vim
-rw-r--r-- | vim/vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -499,6 +499,7 @@ set path-=/usr/include set autoindent " Use indent of previous line on new lines set expandtab " Insert spaces when tab key is pressed in insert mode set shiftwidth=4 " Indent command like < and > use four-space indents +set smarttab " Tab at start of line means indent, otherwise means tab " Apply 'softtabstop' option to make a tab key press in insert mode insert the " same number of spaces as defined by the indent depth in 'shiftwidth'. If |