Vim set hidden
This commit is contained in:
parent
b1c6689d2a
commit
009040a004
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,9 @@ set encoding=utf-8
|
||||||
" syntax on
|
" syntax on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
" switch buffers without writing to file
|
||||||
|
set hidden
|
||||||
|
|
||||||
" remove trailing spaces on save
|
" remove trailing spaces on save
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue