vimrc update

This commit is contained in:
Debucquoy Anthony 2023-04-18 09:55:04 +02:00
parent cb102e6342
commit 363dc6c974
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

13
vimrc
View File

@ -9,16 +9,21 @@ autocmd BufWritePost *.py map <F12> <ESC>:!clear && python % & read<CR>
" let g:AutoPairsMapCR = 0 "Workaround for 27_AutoPairsReturn
" imap <silent><CR> <CR><Plug>AutoPairsReturn
map <c-w>v :vsplit .<cr>
map <c-w>s :split .<cr>
noremap <c-w>v :vsplit .<cr>
noremap <c-w>s :split .<cr>
let python_highlight_all=1
let g:pymode_python = 'python3'
let g:pymode_options_max_line_length = 120
" let g:ctrlp_cmd = 'CtrlPTag'
nmap <c-p> <plug>(YCMFindSymbolInDirectory)
nmap <c-P> <plug>(YCMFindSymbolInWorkspace)
nnoremap <c-p> <plug>(YCMFindSymbolInDirectory)
nnoremap <c-P> <plug>(YCMFindSymbolInWorkspace)
"Documentation
nnoremap K :execute 'vert term' &keywordprg '<cexpr>'<cr>
command Curl :execute 'vert term lynx -dump' escape(@+, '#')
command OpenLink :silent w !urlscan
let g:UltiSnipsExpandTrigger="<c-l>"
let g:UltiSnipsListSnipets="<c-h>"