Skip to content

Commit

Permalink
Nvim/vim plug (#1)
Browse files Browse the repository at this point in the history
* Update: swap from Vundle (dead, unmaintained) to vim-plug (more features, maintained)

* Chore: swap from scrooloose/nerdtree to preservim/nerdtree, add on demand loading

* Update: plugin optimizations

* Remove: unused plugin

* Remove: unused plugin

* Update: plugin optimizations - lazy load for markdown files

* Remove: outdated snippet, use plugin instead
  • Loading branch information
xp-bar authored Jul 28, 2023
1 parent ad721fe commit 908a260
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 85 deletions.
5 changes: 3 additions & 2 deletions install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ mkdir -p ~/.config
mkdir -p ~/.config/nvim/
# ---}}}

# -- Install Vundle -- {{{
git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
# -- Install vim-plug -- {{{
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# -- }}}

# -- Install TPM -- {{{
Expand Down
2 changes: 1 addition & 1 deletion installation/generic/neovim.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/zsh

# Install neovim plugins
nvim +PluginInstall +qall
nvim +'PlugInstall --sync' +qall &> /dev/null < /dev/tty

# install neovim python 3 module
pip3 install neovim
Expand Down
Loading

0 comments on commit 908a260

Please sign in to comment.