diff options
Diffstat (limited to 'vimrc')
-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> |