From 88676a5f08f0e130b55d61a86da2920bf6a06275 Mon Sep 17 00:00:00 2001 From: Tomas Mirchev Date: Thu, 12 Feb 2026 23:21:20 +0200 Subject: [PATCH] update --- config/shared/nvim | 2 +- config/shared/tmux | 15 ++++++++++++--- config/shared/zsh | 3 +++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/config/shared/nvim b/config/shared/nvim index 9f37a37..6b4008c 160000 --- a/config/shared/nvim +++ b/config/shared/nvim @@ -1 +1 @@ -Subproject commit 9f37a379ea47eebffaeffbd12ec01a44267f8d8a +Subproject commit 6b4008ca3863be7fd468e841e87f0132b5727214 diff --git a/config/shared/tmux b/config/shared/tmux index f57e76a..414c1f0 100644 --- a/config/shared/tmux +++ b/config/shared/tmux @@ -10,6 +10,7 @@ bind C-Space send-prefix set -s escape-time 10 set -s focus-events on set -s set-clipboard on +set -g allow-passthrough on # set -g default-command "${SHELL}" set -g base-index 1 # window index @@ -28,7 +29,8 @@ set -gw pane-base-index 1 # pane index set -g status-style fg=black,bg=default set -g window-status-current-style fg=blue,bold set -g message-style fg=blue,bg=default -set -g status-left "#[fg=blue,bold][#{s/^dev-//:#{session_name}}] " +# set -g status-left "#[fg=blue,bold][#{s/^dev-//:#{session_name}}] " +set -g status-left "#[fg=blue,bold][#{s/^(dev-)?[0-9][0-9]_//:#{session_name}}] " set -g status-right " #{?DF_IMAGE,#{DF_IMAGE} | ,}#{?DF_NAMESPACE,#{DF_NAMESPACE},#H}@#{?DF_PLATFORM,#{DF_PLATFORM},local}" set -g status-left-length 50 set -g status-right-length 50 @@ -53,6 +55,8 @@ bind -n M-l resize-pane -R 5 # Last window instead of session bind ';' last-window +# Open session + unbind '"' unbind "%" unbind s @@ -62,8 +66,13 @@ unbind x bind s split-window -v -c "#{pane_current_path}" bind v split-window -h -c "#{pane_current_path}" -bind o choose-session -bind n new-window + +# For some reason, choose-session is what I had before and it was working; however, +# it does not appear in man page and does not allow customization +# bind o choose-session +bind o choose-tree -s -O name +bind N new-window +bind n new-window -c "#{pane_current_path}" bind c confirm-before -p "kill-pane \#P? (y/n)" kill-pane ##### Misc ##### diff --git a/config/shared/zsh b/config/shared/zsh index 0b975fd..67e2abc 100644 --- a/config/shared/zsh +++ b/config/shared/zsh @@ -80,3 +80,6 @@ alias gd='git diff --patience --color-moved=dimmed-zebra --word-diff=plain --fun alias glg='git log --oneline --graph --decorate --all' alias k='kubectl' + +# opencode +export PATH=/home/tomas/.opencode/bin:$PATH