User Tools

Site Tools


vimrc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vimrc [2025/01/18 16:19] karciovimrc [2025/06/03 22:32] (current) – [Vim config .vimrc] karcio
Line 32: Line 32:
 Plugin 'junegunn/fzf.vim' Plugin 'junegunn/fzf.vim'
 Plugin 'ycm-core/YouCompleteMe' Plugin 'ycm-core/YouCompleteMe'
 +Plugin 'lervag/vimtex'
 +Plugin 'vim-autoformat/vim-autoformat'
 call vundle#end()            " required call vundle#end()            " required
 filetype plugin indent on    " required filetype plugin indent on    " required
Line 123: Line 125:
 let g:ycm_use_clangd = 1 let g:ycm_use_clangd = 1
  
 +" run python script
 nnoremap <F5> :echo system('python3 "' . expand('%') . '"')<cr> nnoremap <F5> :echo system('python3 "' . expand('%') . '"')<cr>
 +
 +"vim latex
 +let g:vimtex_view_method = 'zathura'
 +let g:vimtex_compiler_method = 'latexrun'
 +let maplocalleader = ","
 +
 </code> </code>
  
Line 167: Line 176:
 cd ~/.vim/bundle/YouCompleteMe  cd ~/.vim/bundle/YouCompleteMe 
 python3 install.py python3 install.py
 +</code>
 +
 +=== For Latex plugin support - vim-tex - latexrun is not executable! ===
 +
 +<code> 
 +git clone https://github.com/aclements/latexrun.git
 +cd latexrun
 +sudo cp latexrun/latexrun /usr/local/bin/
 </code> </code>
vimrc.1737217195.txt.gz · Last modified: by karcio