" lightline -> no need showmod set noshowmode let g:lightline = { \ 'colorscheme': 'selenized_dark', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'FugitiveHead' \ }, \ } " Supertab let g:SuperTabDefaultCompletionType = "context" " Ultisnips let g:ultisnips_python_style='sphinx' let g:UltiSnipsEditSplit='vertical' " Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. " let g:UltiSnipsExpandTrigger="tab" let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" " Airline let g:airline_powerline_fonts = 1 let g:tmuxline_powerline_separators = 0 " Nerdtree let NERDTreeIgnore = ['.pyc$'] "autocmd VimEnter * NERDTree " Vim-notes let g:notes_directories = ['~/Documents/Notes'] let g:notes_suffix = '.md' " Ale let g:ale_sign_column_always = 1 let g:ale_sign_error = '⚑' let g:ale_sign_warning = '⚐' " fzf " Search and switch buffers nmap b :Buffers " Find files by name under the current directory nmap f :Files " Find files by name under the home directory nmap h :Files ~/ " Search content in the current file " nmap l :BLines " Search content in the current file and in files under the current directory " nmap g :Ag " IndentLine let g:indentLine_fileTypeExclude = ['tex'] " let g:indentLine_concealcursor = '' " let g:indentLine_conceallevel = 1 " " Vim-polyglot " let g:LatexBox_no_mappings = 1 let g:polyglot_disabled = ["latex"] " Vimtex let g:vimtex_compiler_latexmk = { \ 'backend' : 'jobs', \ 'background' : 1, \ 'build_dir' : '', \ 'callback' : 0, \ 'continuous' : 1, \ 'options' : [ \ '-pdf', \ '-verbose', \ '-file-line-error', \ '-synctex=1', \ '-interaction=nonstopmode', \ '-silent', \ '-shell-escape', \ ], \} let g:vimtex_view_method = 'zathura' " Les fichiers sty et cls sont vus comme des fichiers tex autocmd BufRead,BufNewFile *.{sty,cls} setlocal syntax=tex autocmd FileType latex unmap ll autocmd FileType latex nmap ll (vimtex-compile)