This commit is contained in:
Henrik Bakken
2020-10-14 17:16:35 +02:00
parent 37876cc3ce
commit 936a6d24c9
2 changed files with 31 additions and 34 deletions
+6 -6
View File
@@ -57,8 +57,7 @@ unbind -a
bind ? list-keys
bind d detach-client
bind D choose-client
bind : command-prompt
bind Enter command-prompt
bind ø command-prompt
#bind \ show-messages
# Copy mode
@@ -71,9 +70,6 @@ bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -f -selection
bind -T copy-mode-vi r send-keys -X rectangle-toggle
bind -T copy-mode-vi Escape send-keys -X cancel
# Refresh client
bind R refresh-client \; display-message "Refresh already"
# Rename window
bind , command-prompt "rename-window %%"
@@ -84,7 +80,7 @@ bind t clock-mode
bind i display-panes
# Config Reloads
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
bind r source-file ~/.tmux.conf \; refresh-client \; display-message "Config reloaded"
# resize controls
bind -r h resize-pane -L 2 \; display-message "Resize left"
@@ -98,10 +94,14 @@ bind -n M-o resize-pane -Z
# split panes using | and -, make sure they open in the same path
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind § split-window -fh -c "#{pane_current_path}"
bind _ split-window -fv -c "#{pane_current_path}"
# Change layouts
bind o rotate-window
bind Space next-layout
bind M-- select-layout even-horizontal
bind M-| select-layout even-vertical
bind K swap-pane -d -t "{up-of}"
bind J swap-pane -d -t "{down-of}"
bind H swap-pane -d -t "{left-of}"