tmux: add popup
This commit is contained in:
@@ -59,6 +59,13 @@ bind-key -n 'M-L' resize-pane -R 5
|
|||||||
bind-key -n 'M-K' resize-pane -U 5
|
bind-key -n 'M-K' resize-pane -U 5
|
||||||
bind-key -n 'M-J' resize-pane -D 5
|
bind-key -n 'M-J' resize-pane -D 5
|
||||||
|
|
||||||
|
# popups
|
||||||
|
bind-key -n M-f if-shell -F '#{==:#{session_name},popup}' {
|
||||||
|
detach-client
|
||||||
|
} {
|
||||||
|
display-popup -E -w 70% -h 70% "tmux new-session -A -s popup"
|
||||||
|
}
|
||||||
|
|
||||||
### Misc
|
### Misc
|
||||||
|
|
||||||
# alias
|
# alias
|
||||||
|
|||||||
Reference in New Issue
Block a user