diff options
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r-- | plugin/vim-options.vim | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 2c4eef8..19cc08b 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -113,6 +113,8 @@ noremap <c-w>] <c-w>v<c-]><c-w>L noremap <c-w><c-]> <c-w>v<c-]><c-w>T "Create New tab nnoremap <C-w>t :tabnew<CR> +"Duplicate current buffer into another tab +nnoremap <C-w><C-t> <C-w>v<C-w>T " Run isort on file noremap <leader>ei :!isort %<CR> " Run black on file @@ -124,11 +126,7 @@ function! SaveSession() endfunction nnoremap <leader>ess :call SaveSession()<CR> nnoremap <leader>esr :source $SessionDir/session.vim<CR> -" Jump to first/last line in a paragraph -nnoremap <A-{> k{w -nnoremap <A-}> j}k^ -vnoremap <A-{> k{w -vnoremap <A-}> j}k^ +" Paste nnoremap <leader>y :call system('nc -w 1 172.17.0.1 41401', @0)<CR> " Delete current file and purge buffer function! Rm() @@ -181,7 +179,8 @@ if !empty(glob($EditorDir.'plugged/vim-fugitive/plugin/fugitive.vim')) if buflisted(bufname('.git/index')) bd .git/index else - Gstatus + G + res 15 endif endfunction command ToggleGStatus :call ToggleGStatus() |