about summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rwxr-xr-xvim/.vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 5cfa33a..efb300d 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -18,7 +18,8 @@ let g:jedi#popup_select_first = 0
 let g:jedi#show_call_signatures = 2
 let g:jedi#smart_auto_mappings = 0
 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
-autocmd FileType c,h,go,cpp,arduino setlocal noexpandtab shiftwidth=8
+autocmd FileType c,h,go setlocal noexpandtab shiftwidth=8
+autocmd FileType cpp setlocal cinoptions={s}s
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType css,javascript,markdown,python setlocal shiftwidth=4
 autocmd FileType python syntax keyword pythonBoolean False True None
@@ -26,3 +27,4 @@ autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1)
 map Q gq
 inoremap <M-,> ≤
 inoremap <M-.> ≥
+inoremap ... …