vimrc update
This commit is contained in:
parent
32b2e68cc7
commit
6d413b7c8d
17
vimrc
17
vimrc
@ -1,6 +1,9 @@
|
||||
"python executing
|
||||
autocmd BufWritePost *.py map <F11> <ESC>:vert term python -i %<CR>
|
||||
autocmd BufWritePost *.py map <F12> <ESC>:vert term python %<CR>
|
||||
autocmd Filetype python noremap <F11> <ESC>:vert term python -i %<CR>
|
||||
autocmd Filetype python noremap <F12> <ESC>:vert term python %<CR>
|
||||
|
||||
autocmd Filetype tex noremap <silent> <F12> <ESC>:silent !pdflatex % && mupdf %:r.pdf&<CR>
|
||||
|
||||
autocmd FileType asm noremap <F12> <ESC>:execute 'silent !qtspim' expand('%::p')<CR>
|
||||
|
||||
" autocmd FileType python set sw=4
|
||||
" autocmd FileType python set ts=4
|
||||
@ -17,6 +20,8 @@ let g:pymode_python = 'python3'
|
||||
let g:pymode_options_max_line_length = 120
|
||||
" let g:ctrlp_cmd = 'CtrlPTag'
|
||||
|
||||
let g:vimtex_view_method = 'mupdf'
|
||||
|
||||
" nnoremap <c-p> <plug>(YCMFindSymbolInDirectory)
|
||||
" nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace)
|
||||
|
||||
@ -55,6 +60,8 @@ set incsearch
|
||||
set autochdir
|
||||
" set foldcolumn=1
|
||||
set clipboard^=unnamed,unnamedplus
|
||||
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<,space:·
|
||||
set concealcursor=""
|
||||
|
||||
color desert
|
||||
hi Normal ctermfg=None ctermbg=None
|
||||
@ -134,6 +141,10 @@ Plugin 'hdiniz/vim-gradle'
|
||||
Plugin 'junegunn/fzf', {'do': { -> fzf#install() }}
|
||||
Plugin 'junegunn/fzf.vim'
|
||||
|
||||
"latex
|
||||
|
||||
Plugin 'lervag/vimtex'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
filetype plugin indent on
|
||||
|
Loading…
Reference in New Issue
Block a user