From 5f2a658772f0ec297426c3e57d62b6b00ff07e8b Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 8 Mar 2024 19:52:21 +0100 Subject: [PATCH] tmux: pane border and nav --- .tmux.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 6988918..b890397 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -21,13 +21,18 @@ set-environment -g "SSH_AUTH_SOCK" "$XDG_RUNTIME_DIR/gcr/ssh" set -g update-environment "BUILDCOMMAND GOPACKAGESDRIVER SSH_AUTH_SOCK SSH_CONNECTION" set -g default-command zsh set -g history-limit 10000 - +# set -g default-terminal "wezterm" set -ga terminal-features '*:overline:strikethrough:usstyle:RGB' # Key bindings +bind -n M-Tab if-shell 'test #{window_panes} -gt 1' 'last-pane' 'last-window' +bind -n M-h select-pane -L +bind -n M-l select-pane -R bind -n M-Left select-pane -L bind -n M-Right select-pane -R +bind -n M-j select-pane -U +bind -n M-k select-pane -D bind -n M-Up select-pane -U bind -n M-Down select-pane -D bind -n M-1 select-window -t nvim @@ -63,6 +68,8 @@ setw -g window-status-format "" setw -g window-status-current-format "" setw -g window-status-separator "" set -g status-style "bg=#444444,fg=#dddddd,italics" +set -g pane-border-style "fg=#334455" +set -g pane-active-border-style "fg=#334455" set -g status-position bottom set -g status-left-length 0 set -g status-right-length 0