projects
/
vimconf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9e63e
)
init: Packadd termdebug for c,cpp
author
Stefan Huber <shuber@sthu.org>
Sun, 31 Jan 2021 15:15:43 +0000
(16:15 +0100)
committer
Stefan Huber <shuber@sthu.org>
Sun, 31 Jan 2021 15:15:43 +0000
(16:15 +0100)
init.vim
patch
|
blob
|
history
diff --git
a/init.vim
b/init.vim
index 80b80ee612d7c43541ade42879e4ce35f7e35cef..86f93b3da6befc9866c02fbf7e6f6bb0299d5f6b 100644
(file)
--- a/
init.vim
+++ b/
init.vim
@@
-177,6
+177,8
@@
au BufEnter *.cpp,*.cc,*.cxx let b:fswitchdst='h,hxx,hpp,hh'
au BufEnter *.h,*.hh,*.hxx let b:fswitchdst='cc,c,cxx,cpp'
au BufNewFile *.{h,hpp,hxx} call AddIncludeGuards()
+au FileType cpp,c packadd termdebug
+
augroup autofoldcolumn
au!
au CursorHold,BufWinEnter * AutoOrigamiFoldColumn