diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-06-08 10:12:16 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-06-08 10:12:16 -0600 |
commit | 2d90ed79923281b095f2dfb27d2b400cb1eb7415 (patch) | |
tree | d816ced7b9d410f761f316ea6937eb99256cd938 | |
parent | f1b8297c09de5671b449a596ac1abdc5cd635801 (diff) |
Adding isort command
-rw-r--r-- | plugin/vim-options.vim | 5 |
1 files 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 <leader>eb ofrom pudb import set_trace; set_trace()<ESC> noremap <c-w>f <c-w>f<c-w>H " <c-w>] uses path not tags file? noremap <c-w>] <c-w>v<c-]><c-w>H +" Run isort on file +noremap <leader>ei :!isort %<CR> |