" ~/.vim/ftplugin/python/python.vim " Python-specific vim configuration " Tabs are expanded to 4 spaces setlocal tabstop=4 shiftwidth=4 expandtab " Show existing tabs (they can be deleted with :retab) setlocal list " Column marker: 90 characters call matchadd('ColorColumn', '\%91v', 100) setlocal textwidth=90 "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 :w:!./% nnoremap X :w:!./% "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 %' let mapleader = "," inoremap temp :-1r ~/.vim/ftplugin/python/snips/templateGdd?<+++>cf> inoremap class :-1r ~/.vim/ftplugin/python/snips/classGdd?<+++>cf> inoremap if :-1r ~/.vim/ftplugin/python/snips/ifGdd?<+++>cf> inoremap for :-1r ~/.vim/ftplugin/python/snips/forGdd?<+++>cf>