✨ feat(tmux): new keymap to ask a name when creating a window
This commit is contained in:
parent
bf65915473
commit
a55a3f452c
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ set -g prefix M-Space
|
|||
bind Space send-prefix
|
||||
|
||||
# Config reload
|
||||
bind-key R source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded"
|
||||
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded"
|
||||
|
||||
# Vim mode
|
||||
setw -g mode-keys vi
|
||||
|
@ -17,6 +17,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 "Name of new window: " "new-window -c '#{pane_current_path}' -n '%%'"
|
||||
|
||||
# Move to the next and prev window
|
||||
bind ] next-window
|
||||
|
|
Loading…
Add table
Reference in a new issue