summaryrefslogtreecommitdiff
path: root/libre/vim/parabola.vim
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-04-11 23:56:15 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-04-11 23:56:15 -0500
commitcd7fced6d4fccb42fc5d28f0d8f7ce8d8d423eeb (patch)
treefec4a4cd698fb8413fdde2bb35a77784b9652d50 /libre/vim/parabola.vim
parent9194bbd4d6848778386cf2f16ffcb900ed7d3c45 (diff)
downloadabslibre-cd7fced6d4fccb42fc5d28f0d8f7ce8d8d423eeb.tar.gz
abslibre-cd7fced6d4fccb42fc5d28f0d8f7ce8d8d423eeb.tar.bz2
abslibre-cd7fced6d4fccb42fc5d28f0d8f7ce8d8d423eeb.zip
vim-8.0.1542-2.parabola1: updating version
Diffstat (limited to 'libre/vim/parabola.vim')
-rw-r--r--libre/vim/parabola.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/vim/parabola.vim b/libre/vim/parabola.vim
index 62f438f6f..45424d969 100644
--- a/libre/vim/parabola.vim
+++ b/libre/vim/parabola.vim
@@ -1,7 +1,5 @@
" The Parabola GNU/Linux-libre global vimrc - setting only a few sane defaults
"
-" Maintainer: Thomas Dziedzic [gostrc@gmail.com]
-"
" NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION
" SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc
@@ -18,6 +16,12 @@ set ruler " show the cursor position all the time
" These are files we are not likely to want to edit or read.
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg
+" Move the swap file location to protect against CVE-2017-1000382
+if ! isdirectory('~/.vim/swap/')
+ silent! call system('install -dm 700 ~/.vim/swap')
+endif
+set directory=~/.vim/swap/
+
if has('gui_running')
" Make shift-insert work like in Xterm
map <S-Insert> <MiddleMouse>