diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-05-08 11:03:20 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-05-08 11:03:20 -0700 |
commit | c7db514993a0df014fdaf2b4ce71b7b76b3b8ddd (patch) | |
tree | 95ab47fc999d0b167f88638b37aa05c11d98de35 | |
parent | [vim] a couple of options (diff) | |
download | emacs.d-c7db514993a0df014fdaf2b4ce71b7b76b3b8ddd.tar.gz |
[vimrc] update settings for some filetypes
Diffstat (limited to '')
-rw-r--r-- | vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vimrc b/vimrc index 74e1dc3..6822361 100644 --- a/vimrc +++ b/vimrc @@ -33,7 +33,14 @@ call plug#end() " configure ack.vim to use silver surfer let g:ackprg = 'ag --vimgrep --smart-case' -autocmd BufNewFile,BufRead *.py setlocal tabstop=2 softtabstop=2 shiftwidth=2 textwidth=100 smarttab expandtab +" Python settings +autocmd BufNewFile,BufRead *.py setlocal tabstop=2 softtabstop=2 shiftwidth=2 textwidth=100 smarttab expandtab + +" JSON settings +autocmd BufNewFile,BufRead *.json setlocal tabstop=2 softtabstop=2 expandtab + +" Dockerfile settings +autocmd FileType dockerfile set noexpandtab " Exit on j imap jj <Esc> |