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/17 00:06] – [Vim config .vimrc] 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 121: Line 123:
 nnoremap <F10> :YcmCompleter FixIt<CR> nnoremap <F10> :YcmCompleter FixIt<CR>
  
-let g:ycm_use_clangd = 1 +let g:ycm_use_clangd = 1 
 + 
 +" run python script 
 +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>
  
 ==== Install formatters ==== ==== Install formatters ====
 <code> <code>
-sudo apt-get python3-autopep8+sudo apt install python3-autopep8
 </code> </code>
  
Line 165: 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.1737072382.txt.gz · Last modified: by karcio