From f154d3f778214e5cca7f2e6fb9412184b57edf04 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Tue, 20 Sep 2022 13:57:02 +0200 Subject: Changes mostly to vim, trying neovim LSP. --- stow/vim/.vim/ftplugin/python/python.vim | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'stow/vim/.vim/ftplugin/python/python.vim') diff --git a/stow/vim/.vim/ftplugin/python/python.vim b/stow/vim/.vim/ftplugin/python/python.vim index 0aeff8c..dab8c22 100644 --- a/stow/vim/.vim/ftplugin/python/python.vim +++ b/stow/vim/.vim/ftplugin/python/python.vim @@ -10,21 +10,20 @@ setlocal list call matchadd('ColorColumn', '\%91v', 100) setlocal textwidth=90 -let b:ale_python_pylint_options = '-d invalid-name' -let b:ale_fixers = ['yapf'] +"let b:ale_python_pylint_options = '-d invalid-name' +"let b:ale_fixers = ['yapf'] " Mappings let mapleader = " " nnoremap C :sp ~/.vim/ftplugin/python/python.vim -nnoremap x :! ./% -nnoremap X :! ./% +nnoremap x :w:!./% +nnoremap X :w:!./% -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 gr (coc-references) nnoremap s oimport pdbpdb.set_trace()2k nnoremap db :!tmux split-window -l '40\%' 'python -m̀ pdb %' -- cgit v1.2.1