File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ bind C-j resize-pane -D 10 # Resizes the current pane Right by 20 cells
2525bind C-k resize-pane -U 10 # Resizes the current pane Down by 20 cells
2626bind C-l resize-pane -R 10 # Resizes the current pane Upward by 20 cells
2727
28+ # Kill pane without confirmation
29+ unbind x
30+ bind x kill-pane
31+
32+ # Move window to index
33+ bind-key m command-prompt -p " Move window to index:" " move-window -t '%%'"
34+
35+ # Rename window
36+ bind-key r command-prompt -p " Rename window to:" " rename-window '%%'"
37+
38+ bind-key X kill-window
39+
2840# set -g @plugin 'catppuccin/tmux'
2941set -g @plugin ' catppuccin/tmux#v2.1.3'
3042set -g @catppuccin_flavor ' macchiato'
@@ -43,6 +55,7 @@ set -g @catppuccin_status_module_bg_color "#{@thm_surface_0}"
4355run ~ /.tmux/plugins/tmux/catppuccin.tmux
4456
4557set -g base-index 1 # start windows numbering at 1
58+
4659# Pane splits should open to the same path as the current pane
4760bind " '" split-window -v -c " #{pane_current_path}"
4861bind " ;" split-window -h -c " #{pane_current_path}"
You can’t perform that action at this time.
0 commit comments