projects
/
vimconf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update readme
[vimconf.git]
/
init.vim
diff --git
a/init.vim
b/init.vim
index d2f90a4d058b5c9e749cb5959b03363fd3e142c3..86f93b3da6befc9866c02fbf7e6f6bb0299d5f6b 100644
(file)
--- a/
init.vim
+++ b/
init.vim
@@
-99,7
+99,6
@@
else
" Setting termguicolors has two implications:
" - Breaks colors for some versions of mosh, but not if tmux is used on top of
" mosh. See https://github.com/mobile-shell/mosh/issues/928
" Setting termguicolors has two implications:
" - Breaks colors for some versions of mosh, but not if tmux is used on top of
" mosh. See https://github.com/mobile-shell/mosh/issues/928
- " - Breaks some colors in :terminal, e.g., when launching gdb in vim.
set termguicolors
let g:gruvbox_italic = 1
endif
set termguicolors
let g:gruvbox_italic = 1
endif
@@
-178,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 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
augroup autofoldcolumn
au!
au CursorHold,BufWinEnter * AutoOrigamiFoldColumn