|
@ -34,17 +34,15 @@ Plug '907th/vim-auto-save' |
|
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } |
|
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } |
|
|
Plug 'lervag/vimtex' |
|
|
Plug 'lervag/vimtex' |
|
|
Plug 'Valloric/YouCompleteMe' |
|
|
Plug 'Valloric/YouCompleteMe' |
|
|
Plug 'ervandew/supertab' |
|
|
|
|
|
Plug 'honza/vim-snippets' |
|
|
Plug 'honza/vim-snippets' |
|
|
Plug 'SirVer/ultisnips' |
|
|
Plug 'SirVer/ultisnips' |
|
|
" make YCM compatible with UltiSnips (using supertab) |
|
|
|
|
|
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] |
|
|
|
|
|
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] |
|
|
|
|
|
let g:SuperTabDefaultCompletionType = '<C-n>' |
|
|
|
|
|
" better key bindings for UltiSnipsExpandTrigger |
|
|
|
|
|
let g:UltiSnipsExpandTrigger = "<tab>" |
|
|
|
|
|
let g:UltiSnipsJumpForwardTrigger = "<tab>" |
|
|
|
|
|
let g:UltiSnipsJumpBackwardTrigger = "<s-tab>" |
|
|
|
|
|
|
|
|
" let g:ycm_key_list_select_completion = ['<C-d>', '<Down>'] |
|
|
|
|
|
" let g:ycm_key_list_previous_completion = ['<C-u>', '<Up>'] |
|
|
|
|
|
let g:ycm_key_list_select_completion = [] |
|
|
|
|
|
let g:ycm_key_list_previous_completion = [] |
|
|
|
|
|
let g:UltiSnipsExpandTrigger = "<c-j>" |
|
|
|
|
|
let g:UltiSnipsJumpForwardTrigger = "<c-b>" |
|
|
|
|
|
let g:UltiSnipsJumpBackwardTrigger = "<c-z>" |
|
|
|
|
|
|
|
|
call plug#end() |
|
|
call plug#end() |
|
|
|
|
|
|
|
@ -56,6 +54,5 @@ map <F5> :qa!<CR> |
|
|
map <F6> :LLPStartPreview<CR> |
|
|
map <F6> :LLPStartPreview<CR> |
|
|
map <F7> :AutoSaveToggle<CR> |
|
|
map <F7> :AutoSaveToggle<CR> |
|
|
map <F10> :PlugInstall<CR> |
|
|
map <F10> :PlugInstall<CR> |
|
|
map <C-F1> :.,$s/:\(\w\)/: \1/g<CR> |
|
|
|
|
|
" map <Enter> o<ESC> |
|
|
|
|
|
" map <S-Enter> O<ESC> |
|
|
|
|
|
|
|
|
map <Enter> o<ESC> |
|
|
|
|
|
map <S-Enter> O<ESC> |