Write swap files to /tmp
This commit is contained in:
4
.vimrc
4
.vimrc
@@ -44,6 +44,10 @@ endif
|
|||||||
" look for tags file along path
|
" look for tags file along path
|
||||||
set tags=tags;/
|
set tags=tags;/
|
||||||
|
|
||||||
|
" swapfiles to /tmp
|
||||||
|
set directory=/tmp
|
||||||
|
|
||||||
|
|
||||||
" F5 to trim trailing whitespace
|
" F5 to trim trailing whitespace
|
||||||
map <silent> <F5> :let _s=@/ <Bar> :%s/\s\+$//e <Bar> :let @/=_s <Bar> :nohl <Bar> :unlet _s <CR>
|
map <silent> <F5> :let _s=@/ <Bar> :%s/\s\+$//e <Bar> :let @/=_s <Bar> :nohl <Bar> :unlet _s <CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user