Browse Source

Load user dir vimrc from zsh, update vimplugin

master
Riyyi 6 years ago
parent
commit
3cc7a92da5
  1. 1
      .config/zsh/.zshrc
  2. 2
      .scripts/vimplugin.sh

1
.config/zsh/.zshrc

@ -7,6 +7,7 @@ export XDG_DATA_HOME="$HOME/.local/share"
# VIM # VIM
export EDITOR="vim" export EDITOR="vim"
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"
# X11 # X11
export XINITRC="$XDG_CONFIG_HOME/xorg/xinitrc" export XINITRC="$XDG_CONFIG_HOME/xorg/xinitrc"

2
.scripts/vimplugin.sh

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
#---- #----
BASE="/usr/share/vim/vimfiles/pack" BASE="$XDG_CONFIG_HOME/vim/pack"
#---- #----
DIR="$BASE/plugins" DIR="$BASE/plugins"
LIST="$BASE/list" LIST="$BASE/list"

Loading…
Cancel
Save