Created
December 21, 2016 15:08
-
-
Save showell/afb1b76277f4e261b6a21db845ff1404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set ai et sw=4 ts=4 softtabstop=4 | |
set number | |
set backspace=indent,eol,start | |
set wildmenu | |
set wildmode=longest:full,full | |
autocmd BufWritePre *.py :%s/\s\+$//e | |
function! ResCur() | |
if line("'\"") <= line("$") | |
normal! g`" | |
return 1 | |
endif | |
endfunction | |
augroup resCur | |
autocmd! | |
autocmd BufWinEnter * call ResCur() | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment