diff options
author | Max Christian Pohle | 2020-07-08 18:00:35 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-08 18:00:35 +0200 |
commit | ac11adf0b76ac3a07b5c2891aad9f4da040423ad (patch) | |
tree | 1080d0d89e5bd757ff19d56f192e65e4718cf647 /vimrc | |
parent | 36b4b477745e9f5275e0115f57df6a067c71b856 (diff) | |
parent | b9591e68f0a631dd17f54291ca277aff5a8e9f3b (diff) | |
download | vim-karlmarks-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.tar.bz2 vim-karlmarks-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.zip |
Merge branch 'staging2' into staging
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -1,8 +1,6 @@ | |||
1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' | 1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' |
2 | |||
3 | set packpath+=pack/vim | 2 | set packpath+=pack/vim |
4 | 3 | ||
5 | |||
6 | set ttymouse=xterm2 | 4 | set ttymouse=xterm2 |
7 | set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices | 5 | set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices |
8 | set ttybuiltin | " use internal termcaps, because these are more stable | 6 | set ttybuiltin | " use internal termcaps, because these are more stable |
@@ -24,29 +22,4 @@ endif | |||
24 | if filereadable($VIMRUNTIME.'/macros/matchit.vim') | 22 | if filereadable($VIMRUNTIME.'/macros/matchit.vim') |
25 | packadd! matchit | 23 | packadd! matchit |
26 | endif | 24 | endif |
27 | |||
28 | "======================================================================================================================= | 25 | "======================================================================================================================= |
29 | augroup YOUCOMPLETEME | ||
30 | let g:ycm_error_symbol = '✖' " insert this as an error symbol in the gutter bar/sign column | ||
31 | let g:ycm_warning_symbol = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn | ||
32 | |||
33 | let g:ycm_autoclose_preview_window_after_insertion = 0 | ||
34 | let g:ycm_auto_trigger = 1 | ||
35 | let g:ycm_collect_identifiers_from_tags_files = 1 " Let YCM read tags from Ctags file | ||
36 | let g:ycm_confirm_extra_conf = 0 " security is overrated ;) | ||
37 | let g:ycm_always_populate_location_list = 0 " we can manually run :YcmDiags to do that | ||
38 | |||
39 | let g:ycm_key_list_previous_completion = ['Up'] | ||
40 | let g:ycm_key_list_select_completion = ['Down'] | ||
41 | |||
42 | let g:ycm_semantic_triggers = | ||
43 | \ { | ||
44 | \ 'c': [ 're!\w{2}' ] | ||
45 | \ } " per language configurations | ||
46 | |||
47 | |||
48 | packadd YouCompleteMe | ||
49 | augroup END | ||
50 | |||
51 | |||
52 | |||