From 57d93c216d071a61106cd63a35e26c5945660a16 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Wed, 8 Mar 2023 18:45:42 -0500 Subject: [PATCH] switching to nvim slowly but surely --- .gitmodules | 15 +++++++++++++++ .../nvim/site/pack/filebroswer/start/nvim-tree | 1 + editors/nvim/site/pack/golang/opt/vim-go | 1 + editors/nvim/site/pack/markdown/opt/vim-markdown | 1 + editors/nvim/site/pack/markdown/opt/vimwiki | 1 + .../nvim/site/pack/statusbar/start/vim-airline | 1 + shells/zsh/zprofile | 2 +- shells/zsh/zshrc | 2 +- 8 files changed, 22 insertions(+), 2 deletions(-) create mode 160000 editors/nvim/site/pack/filebroswer/start/nvim-tree create mode 160000 editors/nvim/site/pack/golang/opt/vim-go create mode 160000 editors/nvim/site/pack/markdown/opt/vim-markdown create mode 160000 editors/nvim/site/pack/markdown/opt/vimwiki create mode 160000 editors/nvim/site/pack/statusbar/start/vim-airline diff --git a/.gitmodules b/.gitmodules index 772bcc1..ab39d6b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -77,3 +77,18 @@ [submodule "device-battery"] path = src/device-battery url = https://git.keegandeppe.com/kdeppe/device-battery.git +[submodule "editors/nvim/site/pack/filebroswer/start/nvim-tree"] + path = editors/nvim/site/pack/filebroswer/start/nvim-tree + url = https://github.com/nvim-tree/nvim-tree.lua +[submodule "editors/nvim/site/pack/markdown/opt/vim-markdown"] + path = editors/nvim/site/pack/markdown/opt/vim-markdown + url = https://github.com/preservim/vim-markdown +[submodule "editors/nvim/site/pack/markdown/opt/vimwiki"] + path = editors/nvim/site/pack/markdown/opt/vimwiki + url = https://github.com/vimwiki/vimwiki.git +[submodule "editors/nvim/site/pack/golang/opt/vim-go"] + path = editors/nvim/site/pack/golang/opt/vim-go + url = https://github.com/fatih/vim-go.git +[submodule "editors/nvim/site/pack/statusbar/start/vim-airline"] + path = editors/nvim/site/pack/statusbar/start/vim-airline + url = https://github.com/vim-airline/vim-airline.git diff --git a/editors/nvim/site/pack/filebroswer/start/nvim-tree b/editors/nvim/site/pack/filebroswer/start/nvim-tree new file mode 160000 index 0000000..bbb6d48 --- /dev/null +++ b/editors/nvim/site/pack/filebroswer/start/nvim-tree @@ -0,0 +1 @@ +Subproject commit bbb6d4891009de7dab05ad8fc2d39f272d7a751c diff --git a/editors/nvim/site/pack/golang/opt/vim-go b/editors/nvim/site/pack/golang/opt/vim-go new file mode 160000 index 0000000..23cc4bc --- /dev/null +++ b/editors/nvim/site/pack/golang/opt/vim-go @@ -0,0 +1 @@ +Subproject commit 23cc4bca2f586c8c2f7d2cb78bbbfec4b7361763 diff --git a/editors/nvim/site/pack/markdown/opt/vim-markdown b/editors/nvim/site/pack/markdown/opt/vim-markdown new file mode 160000 index 0000000..5d3d1b6 --- /dev/null +++ b/editors/nvim/site/pack/markdown/opt/vim-markdown @@ -0,0 +1 @@ +Subproject commit 5d3d1b6cbdc4be0b4c6105c1ab1f769d76d3c68f diff --git a/editors/nvim/site/pack/markdown/opt/vimwiki b/editors/nvim/site/pack/markdown/opt/vimwiki new file mode 160000 index 0000000..fea8bee --- /dev/null +++ b/editors/nvim/site/pack/markdown/opt/vimwiki @@ -0,0 +1 @@ +Subproject commit fea8bee382b2051b0137fd2cacf0862823ee69b3 diff --git a/editors/nvim/site/pack/statusbar/start/vim-airline b/editors/nvim/site/pack/statusbar/start/vim-airline new file mode 160000 index 0000000..038e3a6 --- /dev/null +++ b/editors/nvim/site/pack/statusbar/start/vim-airline @@ -0,0 +1 @@ +Subproject commit 038e3a6ca59f11b3bb6a94087c1792322d1a1d5c diff --git a/shells/zsh/zprofile b/shells/zsh/zprofile index 0ce2f80..8acfdb8 100644 --- a/shells/zsh/zprofile +++ b/shells/zsh/zprofile @@ -3,7 +3,7 @@ export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin export PATH=$PATH:$HOME/.config/rofi/bin # editor -export VISUAL=vim +export VISUAL=nvim export EDITOR="$VISUAL" # add local paths diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index 0480da1..defd3a5 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -158,7 +158,7 @@ export FZF_DEFAULT_OPTS='--layout=reverse --border' # vim wiki alias -alias vimwiki="vim $HOME/vimwiki/index.md" +alias vimwiki="nvim $HOME/vimwiki/index.md" # yt-dlp alias for simplicity alias yt-vid="yt-dlp -P $HOME/media/video"