feat(tmux): new bindings
This commit is contained in:
parent
6440b955fc
commit
565298b457
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ bind - split-window -vc "#{pane_current_path}"
|
|||
|
||||
# Maintain the same path when creating a new window
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind-key C command-prompt -p "Enter window name:" "new-window -n '%%'"
|
||||
bind C command-prompt -p "New session name:" "new-session -s '%%'"
|
||||
|
||||
# Move to the next and prev window
|
||||
bind-key -n C-M-l next-window
|
||||
|
@ -43,7 +43,7 @@ bind -n C-Down resize-pane -D 2
|
|||
|
||||
# Change window name
|
||||
bind-key r command-prompt -I "#W" "rename-window '%%'"
|
||||
bind-key R command-prompt -I "#W" "rename-session '%%'"
|
||||
bind-key R command-prompt -I "#S" "rename-session '%%'"
|
||||
|
||||
# Close a window
|
||||
bind-key Q kill-window
|
||||
|
|
Loading…
Add table
Reference in a new issue