New bash_aliases file
This commit is contained in:
parent
fe32d33166
commit
ddb353d94b
3 changed files with 331 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue