aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/vim-options.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index a8a5a5f..d8ed6bd 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -102,13 +102,15 @@ nnoremap ]q :lnext<CR>
nnoremap [w :cprev<CR>
nnoremap ]w :cnext<CR>
" Set breakpoint in python
-noremap <leader>eb ofrom pudb import set_trace; set_trace()<ESC>
+noremap <leader>ep ofrom pudb import set_trace; set_trace()<ESC>
" Vertical split instead of horiztonal
noremap <c-w>f <c-w>f<c-w>L
" <c-w>] uses path not tags file?
noremap <c-w>] <c-w>v<c-]><c-w>L
" Run isort on file
noremap <leader>ei :!isort %<CR>
+" Run black on file
+noremap <leader>eb :!black %<CR>
" Session saving
function! SaveSession()
:mksession! $SessionDir/session.vim