about summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-04-09 11:30:57 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-04-09 11:30:57 +0700
commit59fb998abb48df972a2ce399a8bacb2a5de06da2 (patch)
tree524c55afcc849475c31e3057482a430d6fadc63a /vim
parent25f162ed00b2676dc521c055545f7ec279332061 (diff)
downloaddotfiles-59fb998abb48df972a2ce399a8bacb2a5de06da2.tar.gz
Update 2020-04-09
Diffstat (limited to 'vim')
-rwxr-xr-xvim/.vim/gvimrc2
-rwxr-xr-xvim/.vim/vimrc9
2 files changed, 6 insertions, 5 deletions
diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc
index 50c7b2d..16e63eb 100755
--- a/vim/.vim/gvimrc
+++ b/vim/.vim/gvimrc
@@ -1,5 +1,5 @@
 runtime ftplugin/man.vim
 nmap K :Man <cword><CR>
 set guifont=Latin\ Modern\ Mono\ 12
-set guioptions=ci
+set guioptions=cdi
 set guicursor+=a:blinkon0
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 5f5751b..56a99fe 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -19,14 +19,15 @@ autocmd!
 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
 autocmd BufNewFile,BufRead *.m setlocal filetype=octave
 autocmd FileType asm,c,h,go,glsl
-\ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
-autocmd FileType vim,sh,lua,tex,cpp,html,octave,pascal setlocal shiftwidth=2
+      \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
+autocmd FileType vim,sh,lua,tex,cmake,cpp,html,octave,pascal
+      \ setlocal shiftwidth=2
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType java setlocal omnifunc=javacomplete#Complete
 autocmd FileType python,cython
-\ let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1)
+      \ let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1)
 autocmd BufWinEnter * if !exists('w:m1') |
-\ let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) | endif
+      \ let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) | endif
 
 let g:srcery_italic=1
 let g:jedi#popup_on_dot = 0