Commit 629f28f

Ansari <ping@ansari.wtf>
2026-02-19 15:24:32
adding keybind for searching tmux pane
1 parent 8be5ff2
Changed files (1)
.config
.config/tmux/tmux.conf
@@ -35,7 +35,9 @@ unbind t
 bind t new-window -c "#{pane_current_path}"
 bind T clock-mode
 
-
+unbind f
+bind f copy-mode \; command-prompt -p "Search:" "send-keys -X search-forward '%%'"
+set -g mode-keys vi
 
 set -g automatic-rename on
 set -g automatic-rename-format "#(~/.wraith/scripts/tmux-window-name.sh '#{pane_current_command}' '#{pane_current_path}' '#{pane_title}' '#{HOME}')"
@@ -80,5 +82,6 @@ set -g status-left-length 100
 set -g status-right-length 100
 set -g status-left ""
 set -ag status-left "#{?client_prefix,#[bg=#1e1e2e]#[fg=#cdd6f] ⌨ ,}"
+set -ag status-left "#{?#{==:#{pane_mode},copy-mode},#[bg=#1e1e2e]#[fg=#cdd6f4] 󰆿 ,}"
 set -g status-right "#(~/.wraith/scripts/tmux-git-status.sh '#{pane_current_path}') "
 set -ag status-right "#{E:@catppuccin_status_date_time}