#!/bin/sh plugin() { cd "$HOME/.config/nvim/pack/bundle/start" || exit 1 folder=$(echo "$1" | rev | cut -d"/" -f1 | rev | cut -d"." -f1) if [ -d "$folder" ]; then cd "$folder" || exit 77 git pull else git clone "$1" "$folder" fi } plugin "https://github.com/airblade/vim-rooter.git" plugin "https://github.com/Arkham/vim-tango.git" plugin "https://github.com/blinry/vimboy.nvim" plugin "https://github.com/bradcush/nvim-base16.git" plugin "https://github.com/cespare/vim-toml.git" plugin "https://github.com/chentoast/marks.nvim.git" plugin "https://github.com/chriskempson/base16-vim.git" plugin "https://github.com/dag/vim-fish.git" plugin "https://github.com/dense-analysis/ale.git" plugin "https://github.com/dhruvasagar/vim-table-mode.git" plugin "https://github.com/editorconfig/editorconfig-vim.git" plugin "https://github.com/hrsh7th/cmp-buffer" plugin "https://github.com/hrsh7th/cmp-nvim-lsp" plugin "https://github.com/hrsh7th/nvim-cmp.git" plugin "https://github.com/itchyny/lightline.vim" plugin "https://github.com/junegunn/fzf.vim" plugin "https://github.com/machakann/vim-highlightedyank.git" plugin "https://github.com/mike-hearn/base16-vim-lightline.git" plugin "https://github.com/neovim/nvim-lspconfig.git" plugin "https://github.com/salkin-mada/openscad.nvim"; plugin "https://github.com/SirVer/ultisnips.git" plugin "https://github.com/tpope/vim-commentary.git" plugin "https://github.com/tpope/vim-speeddating.git" nvim -c UpdateRemotePlugins