New bash_aliases file

This commit is contained in:
Sonny Bakker 2017-09-16 19:27:33 +02:00
parent fe32d33166
commit ddb353d94b
3 changed files with 331 additions and 3 deletions

View file

@ -74,12 +74,12 @@ set laststatus=2
set statusline=\ %F\ %m%r%w\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %{(&bomb?\",BOM\":\"\")}\ %{&ff}\ \ %l/%L\ \ %c\ %P
"Remove trailing spaces on save
autocmd BufWritePre * :%s/\s\+$//e
autocmd BufWritePre * :%s/\s\+$//e
"Make vim save and load the folding of the document each time it loads
"Also places the cursor in the last place that it was left
au BufWinLeave * mkview
au BufWinEnter * silent loadview
au BufWinLeave *.py mkview
au BufWinEnter *.py silent loadview
"Use pylint for python files (:make % for current file, :make * for all
"files in current directory