add tmux mappings
This commit is contained in:
parent
c1ffdb9b27
commit
43b0246b04
@ -27,6 +27,25 @@ bind F12 send-keys F12
|
||||
bind s choose-tree-index
|
||||
|
||||
|
||||
# View current pane in editor
|
||||
bind-key y {
|
||||
capture-pane -J
|
||||
save-buffer /tmp/tmux-buffer
|
||||
delete-buffer
|
||||
display-popup -E -w 90% -h 80% "nvim /tmp/tmux-buffer"
|
||||
}
|
||||
|
||||
bind-key Y {
|
||||
capture-pane -J -S - -E -
|
||||
save-buffer /tmp/tmux-buffer
|
||||
delete-buffer
|
||||
display-popup -E -w 90% -h 80% "nvim /tmp/tmux-buffer"
|
||||
}
|
||||
|
||||
bind t display-popup -E -h 70% -w 60%
|
||||
bind c clock-mode
|
||||
|
||||
|
||||
# Switch new session
|
||||
bind n new-session -c ~
|
||||
# Switch new named session
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user