aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/python/python.vim
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-06-19 14:34:11 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-06-19 14:34:11 +0200
commit17a9e9dd2cff80b84b78e1ddbf94d2dd42921280 (patch)
treef0ca01c40d01f74f5fbd7c9dc55ce4aaeac90b92 /stow/vim/.vim/ftplugin/python/python.vim
parent39931e285a495b86445e33b8e14cc820392c2c9e (diff)
downloadconfigs-17a9e9dd2cff80b84b78e1ddbf94d2dd42921280.tar.gz
configs-17a9e9dd2cff80b84b78e1ddbf94d2dd42921280.zip
Messing with vim python development config.
Diffstat (limited to 'stow/vim/.vim/ftplugin/python/python.vim')
-rw-r--r--stow/vim/.vim/ftplugin/python/python.vim15
1 files changed, 5 insertions, 10 deletions
diff --git a/stow/vim/.vim/ftplugin/python/python.vim b/stow/vim/.vim/ftplugin/python/python.vim
index dd2ff02..0aeff8c 100644
--- a/stow/vim/.vim/ftplugin/python/python.vim
+++ b/stow/vim/.vim/ftplugin/python/python.vim
@@ -21,17 +21,12 @@ nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/python/python.vim<CR>
nnoremap <buffer> <leader>x :! ./%
nnoremap <buffer> <leader>X :! ./%<CR>
-"nnoremap <buffer> gd :YcmCompleter GoTo<CR>
-"nnoremap <buffer> gr :YcmCompleter GoToReferences<CR>
-"nnoremap <buffer> gR :YcmCompleter RefactorRename<Space>
-"nnoremap <buffer> <leader>gd :YcmCompleter GetDoc<CR>
-"nnoremap <buffer> <leader>gT :YcmCompleter GetType<CR>
-
-nnoremap gd <Plug>(coc-definition)
-nnoremap gy <Plug>(coc-type-definition)
-nnoremap gi <Plug>(coc-implementation)
-nnoremap gr <Plug>(coc-references)
+nnoremap <buffer> gd <Plug>(coc-definition)
+nnoremap <buffer> gy <Plug>(coc-type-definition)
+nnoremap <buffer> gi <Plug>(coc-implementation)
+nnoremap <buffer> gr <Plug>(coc-references)
+nnoremap <buffer> <leader>s oimport pdb<Enter>pdb.set_trace()<Esc>2k
nnoremap <buffer> <leader>db :!tmux split-window -l '40\%' 'python -m̀ pdb %'
let mapleader = ","