From 14baa1a801583c4a0007eb74d36dae7ed75b8ed4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 12 Feb 2024 13:00:33 +0100 Subject: Add shortcut for floating term in tmux --- .config/tmux/tmux.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config') 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" -- cgit v1.2.3-70-g09d2