diff --git a/.vimrc b/.vimrc index 2dc320e..b8fdb55 100644 --- a/.vimrc +++ b/.vimrc @@ -44,6 +44,10 @@ endif " look for tags file along path set tags=tags;/ +" swapfiles to /tmp +set directory=/tmp + + " F5 to trim trailing whitespace map :let _s=@/ :%s/\s\+$//e :let @/=_s :nohl :unlet _s