From 17a9e9dd2cff80b84b78e1ddbf94d2dd42921280 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 19 Jun 2022 14:34:11 +0200 Subject: Messing with vim python development config. --- stow/vim/.vim/ftplugin/python/python.vim | 15 +++++---------- stow/vim/.vim/rc/maps.vim | 2 +- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'stow') 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 C :sp ~/.vim/ftplugin/python/python.vim nnoremap x :! ./% nnoremap X :! ./% -"nnoremap gd :YcmCompleter GoTo -"nnoremap gr :YcmCompleter GoToReferences -"nnoremap gR :YcmCompleter RefactorRename -"nnoremap gd :YcmCompleter GetDoc -"nnoremap gT :YcmCompleter GetType - -nnoremap gd (coc-definition) -nnoremap gy (coc-type-definition) -nnoremap gi (coc-implementation) -nnoremap gr (coc-references) +nnoremap gd (coc-definition) +nnoremap gy (coc-type-definition) +nnoremap gi (coc-implementation) +nnoremap gr (coc-references) +nnoremap s oimport pdbpdb.set_trace()2k nnoremap db :!tmux split-window -l '40\%' 'python -m̀ pdb %' let mapleader = "," diff --git a/stow/vim/.vim/rc/maps.vim b/stow/vim/.vim/rc/maps.vim index f51e3fa..cd83cf2 100644 --- a/stow/vim/.vim/rc/maps.vim +++ b/stow/vim/.vim/rc/maps.vim @@ -16,7 +16,7 @@ nnoremap d "+dd vnoremap d "+d nnoremap vrc :80vsp ~/.vimrc -nnoremap s :!tmux split-window -l '40\%' +nnoremap S :!tmux split-window -l '40\%' " Split navigation map h -- cgit v1.2.1