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:
2022-06-24 23:48:30 +02:00
parent f429da3fd9
commit 75611be2f8

View File

@@ -27,16 +27,16 @@ bind C-a send-prefix
# Split panes with > and <
unbind %
bind < split-window -v -c "#{pane_current_path}"
bind < splitw -v -c "#{pane_current_path}"
unbind '"'
bind > split-window -h -c "#{pane_current_path}"
bind > splitw -h -c "#{pane_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
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)
bind F resizep -Z