add tmux mappings

This commit is contained in:
thek4n 2024-10-08 21:02:19 +03:00
parent c1ffdb9b27
commit 43b0246b04

View File

@ -27,6 +27,25 @@ bind F12 send-keys F12
bind s choose-tree-index 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 # Switch new session
bind n new-session -c ~ bind n new-session -c ~
# Switch new named session # Switch new named session