From cd7fced6d4fccb42fc5d28f0d8f7ce8d8d423eeb Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Wed, 11 Apr 2018 23:56:15 -0500 Subject: vim-8.0.1542-2.parabola1: updating version --- libre/vim/parabola.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libre/vim/parabola.vim') 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 -- cgit v1.2.3