started with implementing the tutorial from https://jdhao.github.io/2019/03/26/nvim_latex_write_preview/
This commit is contained in:
@@ -12,9 +12,13 @@ Plug 'jiangmiao/auto-pairs' " automatic pairs
|
|||||||
Plug 'machakann/vim-sandwich' " manipulate elements surrounding other elements
|
Plug 'machakann/vim-sandwich' " manipulate elements surrounding other elements
|
||||||
Plug 'airblade/vim-gitgutter' " show git changes
|
Plug 'airblade/vim-gitgutter' " show git changes
|
||||||
Plug 'vim-scripts/colorizer' " colorize color codes
|
Plug 'vim-scripts/colorizer' " colorize color codes
|
||||||
|
Plug 'honza/vim-snippets' " snippets
|
||||||
|
Plug 'lervag/vimtex' " vimtex
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
let g:coc_global_extensions = ['coc-snippets', 'coc-git']
|
||||||
|
|
||||||
"lightline
|
"lightline
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
@@ -105,6 +109,7 @@ function! s:check_back_space() abort
|
|||||||
return !col || getline('.')[col - 1] =~ '\s'
|
return !col || getline('.')[col - 1] =~ '\s'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
" Tab for autocomplete
|
||||||
inoremap <silent><expr> <Tab>
|
inoremap <silent><expr> <Tab>
|
||||||
\ pumvisible() ? "\<C-n>" :
|
\ pumvisible() ? "\<C-n>" :
|
||||||
\ <SID>check_back_space() ? "\<Tab>" :
|
\ <SID>check_back_space() ? "\<Tab>" :
|
||||||
|
|||||||
Submodule
+1
Submodule neovim/.config/nvim/plugged/ultisnips added at 204b501cc8
Submodule
+1
Submodule neovim/.config/nvim/plugged/vim-snippets added at 03f7e3395b
Submodule
+1
Submodule neovim/.config/nvim/plugged/vimtex added at 0d8a69f9e1
Reference in New Issue
Block a user