Browse Source

Move vim files to user dir

master
Riyyi 7 years ago
parent
commit
c919c053a9
  1. 1
      .config/vim/after/ftplugin/cpp.vim
  2. 1
      .config/vim/colors/hybrid_reverse.vim
  3. 0
      .config/vim/pack/list
  4. 9
      .config/vim/vimrc
  5. 1
      usr/share/vim/vimfiles/colors/hybrid_reverse.vim

1
.config/vim/after/ftplugin/cpp.vim

@ -0,0 +1 @@
setlocal colorcolumn=81

1
.config/vim/colors/hybrid_reverse.vim

@ -0,0 +1 @@
/home/rick/.config/vim/pack/plugins/opt/vim-hybrid-material/colors/hybrid_reverse.vim

0
usr/share/vim/vimfiles/pack/list → .config/vim/pack/list

9
etc/vimrc → .config/vim/vimrc

@ -3,7 +3,11 @@ set nobackup
set nocompatible
" Setup paths
set viminfo+=n~/.cache/vim_history
set backupdir=$XDG_CACHE_HOME/vim,/var/tmp/tmp
set directory=$XDG_CACHE_HOME/vim,/var/tmp/tmp
set packpath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after
set runtimepath^=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after
set viminfo+=n$XDG_CACHE_HOME/vim_history
"" General
@ -15,8 +19,9 @@ set clipboard=unnamedplus
set encoding=utf-8
set fileencoding=utf-8
set hidden
set history=1000
set mouse=a
set ttimeoutlen=0
set undolevels=1000
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg

1
usr/share/vim/vimfiles/colors/hybrid_reverse.vim

@ -1 +0,0 @@
/usr/share/vim/vimfiles/pack/plugins/opt/vim-hybrid-material/colors/hybrid_reverse.vim
Loading…
Cancel
Save