From 2d90ed79923281b095f2dfb27d2b400cb1eb7415 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 8 Jun 2018 10:12:16 -0600 Subject: Adding isort command --- plugin/vim-options.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 65b72ef..6f0634b 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -26,10 +26,9 @@ set statusline+=%2*\« " LEFT-POINTING DOUBLE ANGLE QUOT set statusline+=%2*\ %=\ %l/%L\ (%02p%%)\ " Rownumber/total (%) " Set spacing of filetypes +au FileType vim,ledger,html,htmldjango setlocal tabstop=2 au FileType sh,python setlocal tabstop=4 au FileType make setlocal tabstop=4 noexpandtab -au FileType ledger setlocal tabstop=2 -au FileType vim setlocal tabstop=2 " Setup colorscheme syntax enable @@ -103,6 +102,8 @@ noremap eb ofrom pudb import set_trace; set_trace() noremap f fH " ] uses path not tags file? noremap ] vH +" Run isort on file +noremap ei :!isort % -- cgit v1.2.3