diff options
Diffstat (limited to 'stow/vim/.vim/ftplugin/python/python.vim')
-rw-r--r-- | stow/vim/.vim/ftplugin/python/python.vim | 15 |
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 = "," |