From ea49cd1213fb707928f6c36d7aa206060c9441be Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sun, 22 Aug 2021 16:59:25 -0400 Subject: Add a few more plugins --- .gitmodules | 9 +++++++++ init.vim | 14 ++++++++++++-- pack/plugins/start/clang_complete | 1 + pack/plugins/start/fugitive | 1 + pack/plugins/start/tagbar | 1 + 5 files changed, 24 insertions(+), 2 deletions(-) create mode 160000 pack/plugins/start/clang_complete create mode 160000 pack/plugins/start/fugitive create mode 160000 pack/plugins/start/tagbar diff --git a/.gitmodules b/.gitmodules index f5fd24a..add1721 100644 --- a/.gitmodules +++ b/.gitmodules @@ -64,3 +64,12 @@ [submodule "pack/plugins/start/c.vim"] path = pack/plugins/start/c.vim url = https://github.com/vim-scripts/c.vim +[submodule "pack/plugins/start/clang_complete"] + path = pack/plugins/start/clang_complete + url = https://github.com/xavierd/clang_complete +[submodule "pack/plugins/start/tagbar"] + path = pack/plugins/start/tagbar + url = https://github.com/preservim/tagbar +[submodule "pack/plugins/start/fugitive"] + path = pack/plugins/start/fugitive + url = https://github.com/tpope/vim-fugitive diff --git a/init.vim b/init.vim index 3142718..0c48a68 100644 --- a/init.vim +++ b/init.vim @@ -89,10 +89,20 @@ let g:syntastic_go_checkers = [ 'go', 'gofmt', 'golangci_lint' ] " This lets :lopen / :lwindow always be populated work let g:syntastic_always_populate_loc_list = 1 - " some info on the Tabular plugin: " http://vimcasts.org/episodes/aligning-text-with-tabular-vim/ - " Commenting in and out blocks can be done with `gc` " https://github.com/tpope/vim-commentary + +nmap :TagbarToggle +let g:tagbar_ctags_bin='uctags' + +" For clang complete +" path to directory where library can be found +let g:clang_library_path='/usr/local/lib' +" package clang-tools-extra on OpenBSD provides the library + + +" For info on fugitive +" https://github.com/tpope/vim-fugitive diff --git a/pack/plugins/start/clang_complete b/pack/plugins/start/clang_complete new file mode 160000 index 0000000..293a106 --- /dev/null +++ b/pack/plugins/start/clang_complete @@ -0,0 +1 @@ +Subproject commit 293a1062274a06be61797612034bd8d87851406e diff --git a/pack/plugins/start/fugitive b/pack/plugins/start/fugitive new file mode 160000 index 0000000..e7d2e87 --- /dev/null +++ b/pack/plugins/start/fugitive @@ -0,0 +1 @@ +Subproject commit e7d2e876900c4e09be59d4e1037ecceeeb880987 diff --git a/pack/plugins/start/tagbar b/pack/plugins/start/tagbar new file mode 160000 index 0000000..ab6f2d5 --- /dev/null +++ b/pack/plugins/start/tagbar @@ -0,0 +1 @@ +Subproject commit ab6f2d5a683041a46c48b28418d4a2a01bbd5551 -- cgit v1.2.3