dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit cc2e1a6e185a9a03f360d72c696eb3c73a39d1a8
parent 80ef9a0d0a888661a57251bd9d128b000e3987e3
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sun,  5 Nov 2017 09:54:23 -0500

indent EOL comments to same level

Diffstat:
Mlinks/.tmux.conf | 48++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -1,18 +1,18 @@ ### GENERAL -set-option -g prefix C-a # Set prefix to <C-a> -bind-key a send-prefix # Send <C-a> with <C-a>a +set-option -g prefix C-a # Set prefix to <C-a> +bind-key a send-prefix # Send <C-a> with <C-a>a bind R source-file ~/.tmux.conf \; display "~/.tmux.conf reloaded" -set -g history-limit 10000 # lines to keep in hisoty +set -g history-limit 10000 # lines to keep in hisoty set-option -g display-panes-time 3000 # Timeout for pane-numbering in ms -set-option -sg escape-time 0 # speed up commands -set -g mouse on # enable mouse (tmux 2.1+) -set -g base-index 1 # start window numbering at 1 -set -g pane-base-index 1 # start pane numbering at 1 -set -g renumber-windows on # renumber windows when a window is closed -setw -g automatic-rename on # rename window after process +set-option -sg escape-time 0 # speed up commands +set -g mouse on # enable mouse (tmux 2.1+) +set -g base-index 1 # start window numbering at 1 +set -g pane-base-index 1 # start pane numbering at 1 +set -g renumber-windows on # renumber windows automatically +setw -g automatic-rename on # rename window after process #### APPEARANCE @@ -53,14 +53,14 @@ set -g status-right-length 40 #### NAVIGATION -bind -r h select-pane -L # navigate left with <C-a>h -bind -r j select-pane -D # navigate down with <C-a>j -bind -r k select-pane -U # navigate up with <C-a>k -bind -r l select-pane -R # navigate right with <C-a>l -bind -r H resize-pane -L 5 # resize pane left with <C-a>H -bind -r J resize-pane -D 5 # resize pane down with <C-a>J -bind -r K resize-pane -U 5 # resize pane up with <C-a>K -bind -r L resize-pane -R 5 # resize pane right with <C-a>L +bind -r h select-pane -L # navigate left with <C-a>h +bind -r j select-pane -D # navigate down with <C-a>j +bind -r k select-pane -U # navigate up with <C-a>k +bind -r l select-pane -R # navigate right with <C-a>l +bind -r H resize-pane -L 5 # resize pane left with <C-a>H +bind -r J resize-pane -D 5 # resize pane down with <C-a>J +bind -r K resize-pane -U 5 # resize pane up with <C-a>K +bind -r L resize-pane -R 5 # resize pane right with <C-a>L # Smart pane switching with awareness of vim splits bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)n?vim(diff)?$|emacs.*$' && tmux send-keys C-h) || tmux select-pane -L" @@ -68,9 +68,9 @@ bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iqE bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)n?vim(diff)?$|emacs.*$' && tmux send-keys C-k) || tmux select-pane -U" bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)n?vim(diff)?$|emacs.*$' && tmux send-keys C-l) || tmux select-pane -R" -bind-key C-s last-window # go to last window with <C-a><C-s> -bind-key C-a last-pane # go to last pane with <C-a><C-a> -bind-key -r n next-window # next window with <C-a>n +bind-key C-s last-window # go to last window with <C-a><C-s> +bind-key C-a last-pane # go to last pane with <C-a><C-a> +bind-key -r n next-window # next window with <C-a>n #### LAYOUT CHANGING BINDINGS @@ -79,10 +79,10 @@ bind-key -r n next-window # next window with <C-a>n bind-key '"' split-window -c "#{pane_current_path}" bind-key '%' split-window -h -c "#{pane_current_path}" -bind -r z resize-pane -Z # toggle pane zoom with <C-a>z -bind-key -r y next-layout # cycle to next pane layout with <C-a>y -bind-key -r Y previous-layout # cycle to previous pane layout with <C-a>Y -bind-key -r r rotate-window # rotate panes with <C-a>r +bind -r z resize-pane -Z # toggle pane zoom with <C-a>z +bind-key -r y next-layout # cycle to next pane layout with <C-a>y +bind-key -r Y previous-layout # cycle to previous pane layout with <C-a>Y +bind-key -r r rotate-window # rotate panes with <C-a>r #### CLIPBOARD