diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index cc6fa0e..108b544 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -51,15 +51,15 @@ bind < splitw -v -c "#{pane_current_path}" unbind '"' bind > splitw -h -c "#{pane_current_path}" -# Create new window with CWD as PWD and place it after the current one -bind c neww -a -c "#{pane_current_path}" -t #{active_window_index} +bind -N "Create a new window behind the current one with the same CWD" \ + c neww -a -c "#{pane_current_path}" -t #{active_window_index} -# Break off the current pane to a new window behind the current one -bind ! breakp -a -t #{active_window_index} +bind -N "Break off the current pane to a new window behind the current one" \ + ! breakp -a -t #{active_window_index} -# Resource config -bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \ - display "Sourced $XDG_CONFIG_HOME/tmux/tmux.conf" +bind -N "Source the config file" \ + R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \ + display "Sourced $XDG_CONFIG_HOME/tmux/tmux.conf" # Fullscreen pane (toggle) bind F resizep -Z