Use <leader> maps. Not sure how this lasted so long...
This commit is contained in:
parent
cf0b282fe2
commit
fb486dcfed
@ -227,6 +227,11 @@ This will cause the runner pane to temporarily occupy the entire tmux window.
|
||||
This is useful for temporarily viewing the pane in a larger context, ie to see
|
||||
a long bracktrace.
|
||||
|
||||
You can add the following mapping to your ~/.tmux.conf file to enable quick
|
||||
toggling of the zoom functionality:
|
||||
|
||||
bind C-p run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)vim$' && tmux send-keys ':VtrZoomRunnerPane' 'C-m') || tmux select-pane -l"
|
||||
|
||||
==============================================================================
|
||||
CONFIGURATION (3) *VTR-Configuration*
|
||||
|
||||
|
@ -400,18 +400,18 @@ endfunction
|
||||
|
||||
function! s:DefineKeymaps()
|
||||
if g:VtrUseVtrMaps
|
||||
nmap ,rr :VtrResizeRunner<cr>
|
||||
nmap ,ror :VtrReorientRunner<cr>
|
||||
nmap ,sc :VtrSendCommandToRunner<cr>
|
||||
nmap ,sl :VtrSendLineToRunner<cr>
|
||||
vmap ,sv <Esc>:VtrSendSelectedToRunner<cr>
|
||||
nmap ,or :VtrOpenRunner<cr>
|
||||
nmap ,kr :VtrKillRunner<cr>
|
||||
nmap ,fr :VtrFocusRunner<cr>
|
||||
nmap ,dr :VtrDetachRunner<cr>
|
||||
nmap ,cr :VtrClearRunner<cr>
|
||||
nmap ,fc :VtrFlushCommand<cr>
|
||||
nmap ,zr :VtrZoomRunnerPane<cr>
|
||||
nmap <leader>rr :VtrResizeRunner<cr>
|
||||
nmap <leader>ror :VtrReorientRunner<cr>
|
||||
nmap <leader>sc :VtrSendCommandToRunner<cr>
|
||||
nmap <leader>sl :VtrSendLineToRunner<cr>
|
||||
vmap <leader>sv <Esc>:VtrSendSelectedToRunner<cr>
|
||||
nmap <leader>or :VtrOpenRunner<cr>
|
||||
nmap <leader>kr :VtrKillRunner<cr>
|
||||
nmap <leader>fr :VtrFocusRunner<cr>
|
||||
nmap <leader>dr :VtrDetachRunner<cr>
|
||||
nmap <leader>cr :VtrClearRunner<cr>
|
||||
nmap <leader>fc :VtrFlushCommand<cr>
|
||||
nmap <leader>zr :VtrZoomRunnerPane<cr>
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user