diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 68bd166..2c4eef8 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -73,8 +73,6 @@ command! MakeTagsPython !ctags --languages=python --python-kinds=-i -R . map <leader>hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" . " FG:" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"fg#")<CR> " Turn off syntax highlighting nnoremap <leader><leader> :noh<CR> -" New tab -nnoremap <C-w>t :tabnew<CR> " Visually select pasted text nnoremap gp `[v`] " Vimdiff commands @@ -107,8 +105,14 @@ nnoremap ]w :cnext<CR> 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 +" Follow file into new tab +noremap <c-w><c-f> <c-w>f<c-w>T " <c-w>] uses path not tags file? noremap <c-w>] <c-w>v<c-]><c-w>L +" <c-w>] to new tab +noremap <c-w><c-]> <c-w>v<c-]><c-w>T +"Create New tab +nnoremap <C-w>t :tabnew<CR> " Run isort on file noremap <leader>ei :!isort %<CR> " Run black on file |