diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-31 23:31:50 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-31 23:31:50 +0100 |
commit | 00ad7ed541a8a6ef1fad1debdc1a0f7211624862 (patch) | |
tree | b76a3111d070f1d18a41ebd968084092ba296f7f /.config/nvim/init.vim | |
parent | Functionnal changes (diff) | |
download | dotfiles-bsd-00ad7ed541a8a6ef1fad1debdc1a0f7211624862.tar.gz dotfiles-bsd-00ad7ed541a8a6ef1fad1debdc1a0f7211624862.tar.bz2 dotfiles-bsd-00ad7ed541a8a6ef1fad1debdc1a0f7211624862.tar.xz dotfiles-bsd-00ad7ed541a8a6ef1fad1debdc1a0f7211624862.tar.zst dotfiles-bsd-00ad7ed541a8a6ef1fad1debdc1a0f7211624862.zip |
Better nvim direcotries
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r-- | .config/nvim/init.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a9f2d7f..cab9636 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -8,6 +8,12 @@ set runtimepath^=/home/jozan/.config/nvim runtimepath+=/home/jozan/.config/nvim/after let &packpath = &runtimepath +if ! filereadable(system('echo -n "$XDG_DATA_HOME/nvim/autoload/plug.vim"')) + echo "Downloading junegunn/vim-plug to manage plugins..." + silent !mkdir -p $XDG_DATA_HOME/nvim/autoload/ + silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $XDG_DATA_HOME/nvim/autoload/plug.vim + autocmd VimEnter * PlugInstall +endif source /home/jozan/.config/nvim/plug.vim source /home/jozan/.config/nvim/settings.vim source /home/jozan/.config/nvim/bindings.vim |