From 36afd8c0c2733abba5a4e55279dee8b7bfc53187 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 17 Dec 2018 22:12:04 +0000 Subject: Adding black shortcut --- plugin/vim-options.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 nnoremap [w :cprev nnoremap ]w :cnext " Set breakpoint in python -noremap eb ofrom pudb import set_trace; set_trace() +noremap ep ofrom pudb import set_trace; set_trace() " Vertical split instead of horiztonal noremap f fL " ] uses path not tags file? noremap ] vL " Run isort on file noremap ei :!isort % +" Run black on file +noremap eb :!black % " Session saving function! SaveSession() :mksession! $SessionDir/session.vim -- cgit v1.2.3