-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
533 lines (449 loc) · 19.2 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
set nocompatible " be iMproved, required
filetype off " required
set encoding=utf-8
set fileencoding=
setglobal fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,latin1
set termencoding=latin1
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'vim-scripts/a.vim'
Plugin 'ycm-core/YouCompleteMe'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'tikhomirov/vim-glsl'
Plugin 'rdnetto/YCM-Generator'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'vim-airline/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'rust-lang/rust.vim'
Plugin 'mkitt/tabline.vim'
Plugin 'scrooloose/nerdcommenter'
Plugin 'chiedo/vim-case-convert'
Plugin 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plugin 'junegunn/fzf.vim'
Plugin 'majutsushi/tagbar'
Plugin 'jaxbot/semantic-highlight.vim'
Plugin 'plasticboy/vim-markdown'
Plugin 'danro/rename.vim'
Plugin 'Shougo/vimproc.vim'
Plugin 'roxma/nvim-yarp'
Plugin 'rhysd/vim-clang-format'
Plugin 'nvie/vim-flake8'
Plugin 'vim-syntastic/syntastic'
Plugin 'Shougo/deoplete.nvim'
Plugin 'zchee/deoplete-clang'
Plugin 'google/vim-jsonnet'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured pluginsG
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" Automatic reloading of .vimrc
autocmd! bufwritepost init.vim source %
autocmd! bufwritepost .vimrc source %
" --------------- Rust support
autocmd BufReadPost *.rs setlocal filetype=rust
autocmd BufEnter *.rs call ncm2#enable_for_buffer()
" suppress the annoying 'match x of y', 'The only match' and 'Pattern not
" found' messages
set shortmess+=c
" CTRL-C doesn't trigger the InsertLeave autocmd . map to <ESC> instead.
inoremap <c-c> <ESC>
" When the <Enter> key is pressed while the popup menu is visible, it only
" hides the menu. Use this mapping to close the menu and also start a new
" line.
inoremap <expr> <CR> (pumvisible() ? "\<c-y>\<cr>" : "\<CR>")
" Use <TAB> to select the popup menu:
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" wrap existing omnifunc
" Note that omnifunc does not run in background and may probably block the
" editor. If you don't want to be blocked by omnifunc too often, you could
" add 180ms delay before the omni wrapper:
" 'on_complete': ['ncm2#on_complete#delay', 180,
" \ 'ncm2#on_complete#omni', 'csscomplete#CompleteCSS'],
au User Ncm2Plugin call ncm2#register_source({
\ 'name' : 'css',
\ 'priority': 9,
\ 'subscope_enable': 1,
\ 'scope': ['css','scss'],
\ 'mark': 'css',
\ 'word_pattern': '[\w\-]+',
\ 'complete_pattern': ':\s*',
\ 'on_complete': ['ncm2#on_complete#omni', 'csscomplete#CompleteCSS'],
\ })
" IMPORTANT: :help Ncm2PopupOpen for more information
set completeopt=noinsert,menuone,noselect
" NOTE: you need to install completion sources to get completions. Check
" our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki
" Required for operations modifying multiple buffers like rename.
set hidden
" Make Ctrl+C do copy to system clipboard
vnoremap <C-c> "+y
syntax on
" Numbered lines and highlight searches
set number
set ruler
"set relativenumber
set hlsearch
" No tabs, just spaces
retab
set shiftwidth=2
set tabstop=2
set expandtab
set smartcase
set autoindent
set smartindent
set smarttab
autocmd BufEnter *.cc,*.h,*.hpp,*.cpp,*.c setlocal cinoptions=(0,W4
" Follow Chromium style guides with ClangFormat
"autocmd BufRead *.cc,*.h,*.hpp,*.cpp,*.c ClangFormat
"autocmd BufWritePre *.cc,*.h,*.hpp,*.cpp,*.c ClangFormat
"autocmd BufWritePost *.cc,*.h,*.hpp,*.cpp,*.c !git reformat
"nnoremap <C-S> :ClangFormat<CR>:noa w<CR>
nnoremap <C-S> :w<CR>:!git reformat<CR>:e<CR>
" Clangd completion
"let g:LanguageClient_serverCommands = {
" \ 'cpp': ['clangd', '-compile-commands-dir=~/src/tvsdk/chromium/src/out_gn_x86_64/Debug'],
" \ }
"let g:LanguageClient_autoStart = 1
"" Autocompletion Configurations
"let g:deoplete#enable_at_startup = 1
"set completeopt=longest,menuone,preview
"" close the preview window when you're not using it
"autocmd InsertLeave * if pumvisible() == 0 | pclose | endif
"let g:deoplete#sources#clang#clang_complete_database = '~/src/tvsdk/chromium/src/out_gn_x86_64/Debug'
"let g:loaded_youcompleteme = 1
" Python/pep8 requires slightly differing
autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
let g:pyindent_continue = '&sw'
let g:pyindent_open_paren = '&sw'
"autocmd FileType python map <buffer> <F8> :call flake8#Flake8()<CR>
" Let's add syntastic for pep8
let g:syntastic_mode_map = { 'mode': 'passive',
\ 'active_filetypes': ['python'],
\ 'passive_filetypes': ['python'] }
let g:syntastic_auto_loc_list=1
let g:syntastic_python_checker_args='--ignore=E501,E123,W504,W328,E111,E114 --max-line-length=80'
let g:syntastic_python_flake8_post_args='--ignore=E501,E123,W504,W328,E111,E114 --max-line-length=80'
let g:syntastic_python_flake8_args='--ignore=E501,E123,W504,W328,E111,E114 --max-line-length=80'
let g:syntastic_python_pylint_args='--ignore=E501,E123,W504,W328,E111,E114 --max-line-length=80'
" Toogle for case sensitivity
nmap <F7> :set ignorecase! ignorecase?<CR>
set ignorecase
" Make backspace work
set backspace=2
" Mouse integration
set mouse=nvi
" If file changed on disk, reload it
set autoread
" Map leader to , instead of \
let mapleader=","
set showcmd
" Make Ycm close preview window after completion
let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_python_binary_path = 'python3'
nmap <C-f> :YcmCompleter FixIt<CR>
nmap <C-d> :YcmCompleter GoTo<CR>
let g:ycm_semantic_triggers = { 'cpp': [ 're!.' ] }
let g:ycm_confirm_extra_conf = 0
let g:ycm_filetype_blacklist = { 'rust': 1 }
let g:ycm_use_clangd = 0
nnoremap gd :YcmCompleter GoToDefinitionElseDeclaration<CR>
" Clojure stuff
let g:salve_auto_start_repl=1
" Airline stuff
map <C-m> :NERDTreeToggle<CR>
" Latex for ycm completion
let g:ycm_semantic_triggers = {
\ 'tex' : ['\ref{','\cite{'],
\ }
" Remove trailing whitespace from files on save
let blacklist = ['mkd', 'md', "*.cc", "*.h", "*.hpp", "*.cpp", "*.c"]
autocmd BufWritePre * if index(blacklist, &ft) < 0 | %s/\s\+$//e
" Use spellcheck for tex files
"autocmd FileType * set nospell
"autocmd FileType md,mkd,tex set spell
" Shut down auto fold for latex documents
let g:tex_flavor='latex'
set grepprg=grep\ -nH\ $*
let g:Tex_Folding=0
set iskeyword+=:
" map FZF to ctrlp
nnoremap <C-P> :FZF<CR>
nnoremap <C-Å> :GFiles<CR>
nnoremap <C-H> :History<CR>
"nnoremap <C-J> :Windows<CR>
" Force removal of "regular CtrlP
autocmd VimEnter * nnoremap <C-P> :FZF<CR>
autocmd VimEnter * nnoremap <C-Å> :GFiles<CR>
nnoremap <C-T> :Tags<CR>
" Root marker for ctrlp
"let g:ctrlp_root_markers = ['.ctrlp']
"let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp'
"let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' }
"let g:ctrlp_custom_ignore = '\v[\/](out_gn_*)|(\.(git))$'
" Set delay to prevent extra search
let g:ctrlp_lazy_update = 150
" Do not clear filenames cache, to improve CtrlP startup
" You can manualy clear it by <F5>
"let g:ctrlp_clear_cache_on_exit = 0
" Set no file limit, we are building a big project
"let g:ctrlp_max_files = 0
" Use ag/silver searcher with ctrlp
" if executable('ag')
" " Use Ag over Grep
" set grepprg=ag\ --nogroup\ --nocolor
"
" " " Use ag in CtrlP for listing files. Lightning fast and respects .gitignore
" let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
" "let g:ctrlp_user_command = ['.git/', 'git ls-files --cached --others --exclude-standard %s']
" endif
" nnoremap <C-a> :CtrlP ~/src/vricon/<CR>
" Chromium is so f*kking big that CtrlP becomes insufficient
"let g:codesearch_source_root = '/home/helo/src/tvsdk/chromium'
"nmap <C-f> :CrSearch<Space>
"nnoremap t :tabnew | :CrSearch <C-W><CR>
" Create a find mapping
"command! -complete=file -bang ChrFind :!find /home/helo/src/tvsdk/chromium/src -iname <args>
"autocmd FileType python map <buffer> <F8> :call flake8#Flake8()<CR>
" ctags optimization
" set autochdir
set tags=tags;
" Ctrlp for tags
"nmap <F9> :CtrlPTag<cr>
nmap <F8> :TagbarToggle<CR>
command! CopyRelPath call setreg('+', expand('%'))
nmap <C-g> :CopyRelPath<CR> :echo expand('%')<CR>
" --column: Show column number
" --line-number: Show line number
" --no-heading: Do not show file headings in results
" --fixed-strings: Search term as a literal string
" --ignore-case: Case insensitive search
" --no-ignore: Do not respect .gitignore, etc...
" --hidden: Search hidden files and folders
" --follow: Follow symlinks
" --glob: Additional conditions for search (in this case ignore everything in the .git/ folder)
" --color: Search color options
"command! -bang -nargs=* Find call fzf#vim#grep('ag --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>), 1, <bang>0)
" SYNTAX HIGLIGHTING
" GLSL on vricon shaders
autocmd BufRead *.fp,*.vp,*.gp,*.sp,*.sp,*.hlsl setf glsl
autocmd BufRead *.fp,*.vp,*.gp,*.sp,*.sp,*.hlsl set syntax=glsl
" XML on Vricon .fx files
autocmd BufRead *.fx,*.mat set syntax=xml
" CSS on QSS
autocmd BufRead *.qss set syntax=css
" OMI files from TvSDK
autocmd BufRead *.omi set syntax=cpp
" Jenkinsfiles
autocmd BufRead Jenkinsfile.* setf groovy
autocmd BufRead *.jsonnet setf jsonnet
" Autoread buffers changed
set autoread
autocmd FocusGained * checktime
" Disable folding in markdown
let g:vim_markdown_folding_disabled = 1
"autocmd BufWritePost *.md,*.mkd !pandoc <afile> -o /tmp/<afile>:t.pdf
"autocmd BufWritePost *.tex !pdflatex -output-directory /tmp <afile>
" Pretty print json
nmap <C-j> :%!python3 -m json.tool<CR>
command! PrettyJson :%!python3 -m json.tool
" Gitgutter max
let g:gitgutter_max_signs = 1000
" easy comment toggle
" Comment current line
nmap <C-Space> v<leader>c<Space>
vmap <C-Space> <leader>c<Space>
" Yank current file path t clipboard
nmap ä :let @" = expand("%")<cr>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" CSCOPE settings for vim
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" This file contains some boilerplate settings for vim's cscope interface,
" plus some keyboard mappings that I've found useful.
"
" USAGE:
" -- vim 6: Stick this file in your ~/.vim/plugin directory (or in a
" 'plugin' directory in some other directory that is in your
" 'runtimepath'.
"
" -- vim 5: Stick this file somewhere and 'source cscope.vim' it from
" your ~/.vimrc file (or cut and paste it into your .vimrc).
"
" NOTE:
" These key maps use multiple keystrokes (2 or 3 keys). If you find that vim
" keeps timing you out before you can complete them, try changing your timeout
" settings, as explained below.
"
" Happy cscoping,
"
" Jason Duell [email protected] 2002/3/7
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" This tests to see if vim was configured with the '--enable-cscope' option
" when it was compiled. If it wasn't, time to recompile vim...
if has("cscope")
""""""""""""" Standard cscope/vim boilerplate
set nocscopeverbose
" use both cscope and ctag for 'ctrl-]', ':ta', and 'vim -t'
set cscopetag
" check cscope for definition of a symbol before checking ctags: set to 1
" if you want the reverse search order.
set csto=0
" add any cscope database in current directory
if filereadable("cscope.out")
cs add cscope.out
" else add the database pointed to by environment variable
elseif $CSCOPE_DB != ""
cs add $CSCOPE_DB
endif
" show msg when any other cscope db added
set cscopeverbose
""""""""""""" My cscope/vim key mappings
"
" The following maps all invoke one of the following cscope search types:
"
" 's' symbol: find all references to the token under cursor
" 'g' global: find global definition(s) of the token under cursor
" 'c' calls: find all calls to the function name under cursor
" 't' text: find all instances of the text under cursor
" 'e' egrep: egrep search for the word under cursor
" 'f' file: open the filename under cursor
" 'i' includes: find files that include the filename under cursor
" 'd' called: find functions that function under cursor calls
"
" Below are three sets of the maps: one set that just jumps to your
" search result, one that splits the existing vim window horizontally and
" diplays your search result in the new window, and one that does the same
" thing, but does a vertical split instead (vim 6 only).
"
" I've used CTRL-\ and CTRL-@ as the starting keys for these maps, as it's
" unlikely that you need their default mappings (CTRL-\'s default use is
" as part of CTRL-\ CTRL-N typemap, which basically just does the same
" thing as hitting 'escape': CTRL-@ doesn't seem to have any default use).
" If you don't like using 'CTRL-@' or CTRL-\, , you can change some or all
" of these maps to use other keys. One likely candidate is 'CTRL-_'
" (which also maps to CTRL-/, which is easier to type). By default it is
" used to switch between Hebrew and English keyboard mode.
"
" All of the maps involving the <cfile> macro use '^<cfile>$': this is so
" that searches over '#include <time.h>" return only references to
" 'time.h', and not 'sys/time.h', etc. (by default cscope will return all
" files that contain 'time.h' as part of their name).
" To do the first type of search, hit 'CTRL-\', followed by one of the
" cscope search types above (s,g,c,t,e,f,i,d). The result of your cscope
" search will be displayed in the current window. You can use CTRL-T to
" go back to where you were before the search.
"
nmap <C-_>s :cs find s <C-R>=expand("<cword>")<CR><CR>
nmap <C-_>g :cs find g <C-R>=expand("<cword>")<CR><CR>
nmap <C-_>c :cs find c <C-R>=expand("<cword>")<CR><CR>
nmap <C-_>t :cs find t <C-R>=expand("<cword>")<CR><CR>
nmap <C-_>e :cs find e <C-R>=expand("<cword>")<CR><CR>
nmap <C-_>f :cs find f <C-R>=expand("<cfile>")<CR><CR>
nmap <C-_>i :cs find i ^<C-R>=expand("<cfile>")<CR>$<CR>
nmap <C-_>d :cs find d <C-R>=expand("<cword>")<CR><CR>
" Using 'CTRL-spacebar' (intepreted as CTRL-@ by vim) then a search type
" makes the vim window split horizontally, with search result displayed in
" the new window.
"
" (Note: earlier versions of vim may not have the :scs command, but it
" can be simulated roughly via:
" nmap <C-@>s <C-W><C-S> :cs find s <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>s :vert scs find s <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>g :vert scs find g <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>c :vert scs find c <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>t :vert scs find t <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>e :vert scs find e <C-R>=expand("<cword>")<CR><CR>
nmap <C-Space>f :vert scs find f <C-R>=expand("<cfile>")<CR><CR>
nmap <C-Space>i :vert scs find i ^<C-R>=expand("<cfile>")<CR>$<CR>
nmap <C-Space>d :vert scs find d <C-R>=expand("<cword>")<CR><CR>
" Hitting CTRL-space *twice* before the search type does a vertical
" split instead of a horizontal one (vim 6 and up only)
"
" (Note: you may wish to put a 'set splitright' in your .vimrc
" if you prefer the new window on the right instead of the left
nmap <C-@><C-@>s :scs find s <C-R>=expand("<cword>")<CR><CR>
nmap <C-@><C-@>g :scs find g <C-R>=expand("<cword>")<CR><CR>
nmap <C-@><C-@>c :scs find c <C-R>=expand("<cword>")<CR><CR>
nmap <C-@><C-@>t :scs find t <C-R>=expand("<cword>")<CR><CR>
nmap <C-@><C-@>e :scs find e <C-R>=expand("<cword>")<CR><CR>
nmap <C-@><C-@>f :scs find f <C-R>=expand("<cfile>")<CR><CR>
nmap <C-@><C-@>i :scs find i ^<C-R>=expand("<cfile>")<CR>$<CR>
nmap <C-@><C-@>d :scs find d <C-R>=expand("<cword>")<CR><CR>
""""""""""""" key map timeouts
"
" By default Vim will only wait 1 second for each keystroke in a mapping.
" You may find that too short with the above typemaps. If so, you should
" either turn off mapping timeouts via 'notimeout'.
"
"set notimeout
"
" Or, you can keep timeouts, by uncommenting the timeoutlen line below,
" with your own personal favorite value (in milliseconds):
"
"set timeoutlen=4000
"
" Either way, since mapping timeout settings by default also set the
" timeouts for multicharacter 'keys codes' (like <F1>), you should also
" set ttimeout and ttimeoutlen: otherwise, you will experience strange
" delays as vim waits for a keystroke after you hit ESC (it will be
" waiting to see if the ESC is actually part of a key code like <F1>).
"
"set ttimeout
"
" personally, I find a tenth of a second to work well for key code
" timeouts. If you experience problems and have a slow terminal or network
" connection, set it higher. If you don't set ttimeoutlen, the value for
" timeoutlent (default: 1000 = 1 second, which is sluggish) is used.
"
"set ttimeoutlen=100
endif
" TMUX style splits
" Maps ctrl-b + c to open a new tab window
nnoremap <C-b>c :tabnew +terminal<CR>
tnoremap <C-b>c <C-\><C-n>:tabnew +terminal<CR>
" Maps ctrl-b + " to open a new horizontal split with a terminal
nnoremap <C-b>" :new +terminal<CR>
tnoremap <C-b>" <C-\><C-n>:new +terminal<CR>
" Maps ctrl-b + % to open a new vertical split with a terminal
nnoremap <C-b>% :vnew +terminal<CR>
tnoremap <C-b>% <C-\><C-n>:vnew +terminal<cr>
" Remap Esc to close a terminal in neovim
if has('nvim')
tnoremap <Esc> <C-\><C-n>
end
augroup neovim_terminal
autocmd!
" Enter Terminal-mode (insert) automatically
autocmd TermOpen * startinsert
" Disables number lines on terminal buffers
autocmd TermOpen * :setlocal nonumber norelativenumber
augroup END
" use nvr if giting inside of neovim
if has('nvim')
let $GIT_EDITOR = 'nvr -cc split --remote-wait'
autocmd FileType gitcommit,gitrebase,gitconfig set bufhidden=delete
endif
set number
"let g:airline_section_z = airline#section#create(['windowswap', 'obsession', '%3p%%'.g:airline_symbols.space, 'linenr', 'maxlinenr', g:airline_symbols.space.':%3V'])
let g:airline_section_z = '%3p%% %#__accent_bold#%{g:airline_symbols.linenr}%4l%#__restore__#%#__accent_bold#/%L%{g:airline_symbols.maxlinenr}%#__restore__# :%3v/%03{col("$")-1}'
let g:ycm_extra_conf_globlist=['/home/helo/src/tvsdk/.ycm_extra_conf.py']