Skip to content

Commit c24853c

Browse files
devydevy
authored andcommitted
update tmux config
1 parent 79fcbe4 commit c24853c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

config/stow/tmux/.tmux.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ bind C-j resize-pane -D 10 # Resizes the current pane Right by 20 cells
2525
bind C-k resize-pane -U 10 # Resizes the current pane Down by 20 cells
2626
bind 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'
2941
set -g @plugin 'catppuccin/tmux#v2.1.3'
3042
set -g @catppuccin_flavor 'macchiato'
@@ -43,6 +55,7 @@ set -g @catppuccin_status_module_bg_color "#{@thm_surface_0}"
4355
run ~/.tmux/plugins/tmux/catppuccin.tmux
4456

4557
set -g base-index 1 # start windows numbering at 1
58+
4659
# Pane splits should open to the same path as the current pane
4760
bind "'" split-window -v -c "#{pane_current_path}"
4861
bind ";" split-window -h -c "#{pane_current_path}"

0 commit comments

Comments
 (0)