|
|
|
@ -7,12 +7,12 @@ if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
call plug#begin('~/.local/share/nvim/plugged')
|
|
|
|
|
Plug 'lervag/vimtex' , { 'for' : 'tex'} " Tex library for coc autocompletion
|
|
|
|
|
Plug 'lervag/vimtex' , { 'for' : 'tex'} " Tex library for autocompletion
|
|
|
|
|
Plug 'donRaphaco/neotex', { 'for': 'tex'} " Asynchronous pdf rendering
|
|
|
|
|
Plug 'scrooloose/nerdtree' " Filetree
|
|
|
|
|
Plug 'majutsushi/tagbar' " Show tags
|
|
|
|
|
Plug 'airblade/vim-gitgutter' " Git Upgrades
|
|
|
|
|
Plug 'FredKSchott/CoVim' "Use vim together
|
|
|
|
|
"Plug 'FredKSchott/CoVim' "Use vim together
|
|
|
|
|
Plug 'qpkorr/vim-renamer' " Bulk renamer
|
|
|
|
|
Plug 'sirver/ultisnips' " Snippets
|
|
|
|
|
Plug 'uiiaoo/java-syntax.vim' , { 'for': 'java'} " Better syntax highlight for java than default
|
|
|
|
@ -68,6 +68,16 @@ autocmd VimEnter * HexokinaseTurnOn
|
|
|
|
|
|
|
|
|
|
" End Plugin section
|
|
|
|
|
|
|
|
|
|
" Start Formatting section
|
|
|
|
|
|
|
|
|
|
autocmd FileType java,python noremap <F8> gggqG
|
|
|
|
|
|
|
|
|
|
au FileType python setlocal formatprg=autopep8\ -
|
|
|
|
|
|
|
|
|
|
au FileType java setlocal formatprg=google-java-format\ -
|
|
|
|
|
|
|
|
|
|
" End Formatting section
|
|
|
|
|
|
|
|
|
|
let mapleader =","
|
|
|
|
|
|
|
|
|
|
set go=a
|
|
|
|
|