diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-12 13:00:33 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-12 13:00:33 +0100 |
commit | 14baa1a801583c4a0007eb74d36dae7ed75b8ed4 (patch) | |
tree | 4a640f77fe18e8a45190780c293be6e496b9ee8d | |
parent | f458c3d94916e3407cd14526e2fda14a7162e0d1 (diff) |
Add shortcut for floating term in tmux
-rw-r--r-- | .config/tmux/tmux.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a91eaf7..1b72573 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -36,8 +36,8 @@ setw -g mode-keys vi setw -g mouse off # split panes -bind v split-window -h -bind h split-window -v +bind s split-window -h +bind t split-window -v unbind '"' unbind % @@ -69,3 +69,6 @@ set -g base-index 1 # No delay for escape key press set -sg escape-time 0 + +# Fire up a floating terminal +bind -n M-g display-popup -E "tmux new-session -A -s scratch" |