diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vimrc b/vimrc index 84e6b9e..a44e0e4 100644 --- a/vimrc +++ b/vimrc @@ -5,8 +5,6 @@ set ttyfast " assume fast terminal and send more chars for smooth redraw set lazyredraw " don't redraw while executing macros, register and cmds set ttymouse=sgr " like xterm2 but supporting beyond 223 columns -syntax off - let &statusline = '[%n] %<%F %m%r%w%y %= (%l,%c) %P of %L' set laststatus=2 " every window gets a statusline, always(=2) set scrolloff=5 " scroll edge offset (to keep some context) @@ -31,3 +29,10 @@ 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 + +" Exit on j +imap jj <Esc> + +syntax off |