diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2018-05-08 10:09:36 -0700 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2018-05-08 10:09:36 -0700 |
| commit | 9e4a83076849362f454e8ea919baea6bcdd79d1e (patch) | |
| tree | 55b1c1a0c020151429a948b049353461ed0b69b6 /vimrc | |
| parent | [vim] use vim for EDITOR (diff) | |
| download | emacs.d-9e4a83076849362f454e8ea919baea6bcdd79d1e.tar.gz | |
[vim] move syntax to the end, set up python
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |
