update
This commit is contained in:
parent
2ffe8412fd
commit
a08ab215f0
|
@ -3,6 +3,7 @@ local Plug = vim.fn['plug#']
|
||||||
|
|
||||||
vim.call('plug#begin')
|
vim.call('plug#begin')
|
||||||
|
|
||||||
Plug('preservim/nerdtree', { ['on'] = 'NERDTreeToggle' })
|
Plug 'nvim-tree/nvim-web-devicons' " optional
|
||||||
|
Plug 'nvim-tree/nvim-tree.lua'
|
||||||
|
|
||||||
vim.call('plug#end')
|
vim.call('plug#end')
|
||||||
|
|
11
install.sh
11
install.sh
|
@ -31,6 +31,15 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
NVIM_LOCAL_SHARE = "${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||||
|
|
||||||
|
if [ -d "$NVIM_LOCAL_SHARE/nvim" ]; then
|
||||||
|
mv $NVIM_LOCAL_SHARE/nvim $NVIM_LOCAL_SHARE/nvim_BACKUP_$TIMESTAMP
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git
|
git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git
|
||||||
|
@ -38,7 +47,7 @@ git clone http://8.130.160.147:3000/Configs/$CONFIGBASE.git
|
||||||
mv $CONFIGBASE/config/nvim $CONFIG_DIR
|
mv $CONFIGBASE/config/nvim $CONFIG_DIR
|
||||||
|
|
||||||
rm -rf $CONFIGBASE
|
rm -rf $CONFIGBASE
|
||||||
|
|
||||||
|
|
||||||
echo "Config vim-plug for neovim ..."
|
echo "Config vim-plug for neovim ..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user