summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-01 23:09:32 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-01 23:09:32 +0200
commite0ec28517518707ae5b74d3173d9031fcbb585e6 (patch)
tree0f6a9c3dce61230970043a3afaac23c75ac5bc41 /install
parent889e0d6a94586e51a6d0204ae264d6004d27eb94 (diff)
downloaddotfiles-e0ec28517518707ae5b74d3173d9031fcbb585e6.tar.gz
dotfiles-e0ec28517518707ae5b74d3173d9031fcbb585e6.zip
nvim: install plug from installer
Diffstat (limited to 'install')
-rwxr-xr-xinstall3
1 files changed, 3 insertions, 0 deletions
diff --git a/install b/install
index 450d70e..90d91d4 100755
--- a/install
+++ b/install
@@ -131,6 +131,7 @@ function vimConfigInstaller() {
function nvimConfigInstaller() {
local vimrc=~/.config/nvim/init.vim
+ mkdir -p ~/.config/nvim
touch $vimrc
grep $gMagicNumber $vimrc > /dev/null 2>&1
if [[ $? = 0 ]]; then
@@ -138,6 +139,8 @@ function nvimConfigInstaller() {
fi
echo -e "\n\" $gMagicNumber - Auto generated, do not delete or modify!" >> $vimrc
echo -e "source $ABS_BASE_DIR/nvim.init.vim" >> $vimrc
+ # install plug pkg manager
+ curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
return 0
}