aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-08 17:51:20 +0200
committerMax Christian Pohle2020-07-08 17:51:20 +0200
commitb9591e68f0a631dd17f54291ca277aff5a8e9f3b (patch)
tree025c1b35c802c67838cab3cd0c5b53ab82678804 /vimrc
parentb68fec17407aa70fdd4cc5c88667ac2d2f49658a (diff)
downloadvim-b9591e68f0a631dd17f54291ca277aff5a8e9f3b.tar.bz2
vim-b9591e68f0a631dd17f54291ca277aff5a8e9f3b.zip
Minor cleanups done over a larger time span
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc27
1 files changed, 0 insertions, 27 deletions
diff --git a/vimrc b/vimrc
index 058a66b..3c6b53a 100644
--- a/vimrc
+++ b/vimrc
@@ -1,8 +1,6 @@
1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' 1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
2
3set packpath+=pack/vim 2set packpath+=pack/vim
4 3
5
6set ttymouse=xterm2 4set ttymouse=xterm2
7set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim 5set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim
8set ttyfast | " improves speed for terminal vim (incompatible with nvim) 6set ttyfast | " improves speed for terminal vim (incompatible with nvim)
@@ -23,29 +21,4 @@ endif
23if filereadable($VIMRUNTIME.'/macros/matchit.vim') 21if filereadable($VIMRUNTIME.'/macros/matchit.vim')
24 packadd! matchit 22 packadd! matchit
25endif 23endif
26
27"======================================================================================================================= 24"=======================================================================================================================
28augroup YOUCOMPLETEME
29 let g:ycm_error_symbol = '✖' " insert this as an error symbol in the gutter bar/sign column
30 let g:ycm_warning_symbol = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn
31
32 let g:ycm_autoclose_preview_window_after_insertion = 0
33 let g:ycm_auto_trigger = 1
34 let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file
35 let g:ycm_confirm_extra_conf = 0 " security is overrated ;)
36 let g:ycm_always_populate_location_list = 0 " we can manually run :YcmDiags to do that
37
38 let g:ycm_key_list_previous_completion = ['Up']
39 let g:ycm_key_list_select_completion = ['Down']
40
41 let g:ycm_semantic_triggers =
42 \ {
43 \ 'c': [ 're!\w{2}' ]
44 \ } " per language configurations
45
46
47 packadd YouCompleteMe
48augroup END
49
50
51
..