tmux: Use short command variants
Use short variants of commands and get rid of redundant `-T prefix` flag to `bind`.
This commit is contained in:
@@ -27,16 +27,16 @@ bind C-a send-prefix
|
|||||||
|
|
||||||
# Split panes with > and <
|
# Split panes with > and <
|
||||||
unbind %
|
unbind %
|
||||||
bind < split-window -v -c "#{pane_current_path}"
|
bind < splitw -v -c "#{pane_current_path}"
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind > split-window -h -c "#{pane_current_path}"
|
bind > splitw -h -c "#{pane_current_path}"
|
||||||
|
|
||||||
# Create new window in current path
|
# Create new window in current path
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c neww -c "#{pane_current_path}"
|
||||||
|
|
||||||
# Resource config
|
# Resource config
|
||||||
bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \
|
bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \
|
||||||
display-message "Sourced $XDG_CONFIG_HOME/tmux/tmux.conf"
|
display "Sourced $XDG_CONFIG_HOME/tmux/tmux.conf"
|
||||||
|
|
||||||
# Fullscreen pane (toggle)
|
# Fullscreen pane (toggle)
|
||||||
bind F resizep -Z
|
bind F resizep -Z
|
||||||
|
|||||||
Reference in New Issue
Block a user