diff options
author | Max Christian Pohle | 2020-07-08 17:51:20 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-08 17:51:20 +0200 |
commit | b9591e68f0a631dd17f54291ca277aff5a8e9f3b (patch) | |
tree | 025c1b35c802c67838cab3cd0c5b53ab82678804 /vimrc | |
parent | b68fec17407aa70fdd4cc5c88667ac2d2f49658a (diff) | |
download | vim-b9591e68f0a631dd17f54291ca277aff5a8e9f3b.tar.bz2 vim-b9591e68f0a631dd17f54291ca277aff5a8e9f3b.zip |
Minor cleanups done over a larger time span
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 ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim | 5 | set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim |
8 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) | 6 | set ttyfast | " improves speed for terminal vim (incompatible with nvim) |
@@ -23,29 +21,4 @@ endif | |||
23 | if filereadable($VIMRUNTIME.'/macros/matchit.vim') | 21 | if filereadable($VIMRUNTIME.'/macros/matchit.vim') |
24 | packadd! matchit | 22 | packadd! matchit |
25 | endif | 23 | endif |
26 | |||
27 | "======================================================================================================================= | 24 | "======================================================================================================================= |
28 | augroup 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 | ||
48 | augroup END | ||
49 | |||
50 | |||
51 | |||