diff --git a/nvimrc b/nvimrc index d99c0e0..2ea5a02 100644 --- a/nvimrc +++ b/nvimrc @@ -295,6 +295,24 @@ packadd! vim-rhubarb " https://github.com/tpope/vim-rhubarb.git packadd! editorconfig-vim " https://github.com/editorconfig/editorconfig-vim.git packadd! vim-wordmotion " https://github.com/chaoren/vim-wordmotion.git +" projectionist +packadd! vim-projectionist " https://github.com/tpope/vim-projectionist.git + +let g:projectionist_heuristics = { + \ "*.go": { + \ "*_test.go": { + \ "type": "source", + \ "alternate": "{}.go", + \ }, + \ "*.go": { + \ "type": "source", + \ "alternate": "{}_test.go", + \ }, + \ "etc/rbenv.d/*.bash": {"type": "hook"} + \ } + \ } +nnoremap A :A + " aerial packadd! aerial.nvim " https://github.com/stevearc/aerial.nvim.git