diff options
Diffstat (limited to 'libre/vim/parabola.vim')
-rw-r--r-- | libre/vim/parabola.vim | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/libre/vim/parabola.vim b/libre/vim/parabola.vim deleted file mode 100644 index f7e5bbf82..000000000 --- a/libre/vim/parabola.vim +++ /dev/null @@ -1,35 +0,0 @@ -" The Parabola GNU/Linux-libre global vimrc - setting only a few sane defaults -" -" NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION -" SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc - -" Normally we use vim-extensions. If you want true vi-compatibility -" remove change the following statements -set nocompatible " Use Vim defaults instead of 100% vi compatibility -set backspace=indent,eol,start " more powerful backspacing - -" Now we set some defaults for the editor -set history=50 " keep 50 lines of command line history -set ruler " show the cursor position all the time - -" Suffixes that get lower priority when doing tab completion for filenames. -" 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 exists('$XDG_CACHE_HOME') - let &g:directory=$XDG_CACHE_HOME -else - let &g:directory=$HOME . '/.cache' -endif -let &g:directory.='/vim/swap//' -" Create swap directory if it doesn't exist -if ! isdirectory(expand(&g:directory)) - silent! call mkdir(expand(&g:directory), 'p', 0700) -endif - -if has('gui_running') - " Make shift-insert work like in Xterm - map <S-Insert> <MiddleMouse> - map! <S-Insert> <MiddleMouse> -endif |