From a7795451a507244ec5ae2f49181da7721656143c Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 26 Sep 2020 17:37:49 +0100 Subject: [PATCH] VIM: Adds vim-vinegar plugin This plugin makes some changes to netrw that I think should be default. The mapping I use most is - from any buffer to open it's directory --- .gitmodules | 3 +++ nvim/.config/nvim/init.vim | 1 + nvim/.config/nvim/pack/bundle/opt/vim-vinegar | 1 + 3 files changed, 5 insertions(+) create mode 160000 nvim/.config/nvim/pack/bundle/opt/vim-vinegar diff --git a/.gitmodules b/.gitmodules index 4d083563..b8643bef 100644 --- a/.gitmodules +++ b/.gitmodules @@ -34,3 +34,6 @@ [submodule "nvim/.config/nvim/pack/bundle/opt/vim-json"] path = nvim/.config/nvim/pack/bundle/opt/vim-json url = https://github.com/elzr/vim-json +[submodule "nvim/.config/nvim/pack/bundle/opt/vim-vinegar"] + path = nvim/.config/nvim/pack/bundle/opt/vim-vinegar + url = https://github.com/tpope/vim-vinegar diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 36fdd4eb..e5ef2051 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -7,6 +7,7 @@ if has('packages') packadd! vim-json packadd! vim-less packadd! vim-tridactyl + packadd! vim-vinegar endif " Enables filetype detection as well as filetype specific indent rules and diff --git a/nvim/.config/nvim/pack/bundle/opt/vim-vinegar b/nvim/.config/nvim/pack/bundle/opt/vim-vinegar new file mode 160000 index 00000000..5fee9d23 --- /dev/null +++ b/nvim/.config/nvim/pack/bundle/opt/vim-vinegar @@ -0,0 +1 @@ +Subproject commit 5fee9d230ec4a6a16c45f2c71482595e4d9a67bd