aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-08 18:00:35 +0200
committerMax Christian Pohle2020-07-08 18:00:35 +0200
commitac11adf0b76ac3a07b5c2891aad9f4da040423ad (patch)
tree1080d0d89e5bd757ff19d56f192e65e4718cf647 /vimrc
parent36b4b477745e9f5275e0115f57df6a067c71b856 (diff)
parentb9591e68f0a631dd17f54291ca277aff5a8e9f3b (diff)
downloadvim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.tar.bz2
vim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.zip
Merge branch 'staging2' into staging
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc27
1 files changed, 0 insertions, 27 deletions
diff --git a/vimrc b/vimrc
index 2214e7b..86ff057 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 term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices 5set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices
8set ttybuiltin | " use internal termcaps, because these are more stable 6set ttybuiltin | " use internal termcaps, because these are more stable
@@ -24,29 +22,4 @@ endif
24if filereadable($VIMRUNTIME.'/macros/matchit.vim') 22if filereadable($VIMRUNTIME.'/macros/matchit.vim')
25 packadd! matchit 23 packadd! matchit
26endif 24endif
27
28"======================================================================================================================= 25"=======================================================================================================================
29augroup 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
49augroup END
50
51
52
..