diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-01-10 21:57:57 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:29:57 +0100 |
| commit | 6aee281615ae489346b398c68bb00b0a1dfd1476 (patch) | |
| tree | 19835d9c25d5775e3a1bb86ad42a15cca9791952 /install.sh | |
| parent | 07fce1556195e713c7dcdd20e983f39b50dc4944 (diff) | |
Refactor Neovim configuration
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -18,10 +18,6 @@ dotlink() { fi } -nvimpack() { - echo "$HOME/.local/share/nvim/site/pack/$1/start/$2" -} - gitinst() { if [[ ! -e "$2" ]]; then local remote="[email protected]:$1.git" @@ -31,12 +27,10 @@ gitinst() { mkdir -p "$HOME/.config" +dotlink "config/emacs" dotlink "config/nvim" -dotlink "config/kak" -dotlink "config/tmux" - gitinst \ "wbthomason/packer.nvim" \ - "$(nvimpack "packer" "packer.nvim")" + "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" -nvim +PackerInstall +PackerCompile +qall +nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync" |
