changed everything to spaces over tabs.
This commit is contained in:
parent
ffefa0fffd
commit
4c63486b4b
24 changed files with 1190 additions and 1190 deletions
|
@ -20,35 +20,35 @@
|
|||
bind-key M-a send-prefix
|
||||
|
||||
#split panes using | and -
|
||||
unbind '|'
|
||||
unbind '_'
|
||||
unbind '|'
|
||||
unbind '_'
|
||||
bind | split-window -h
|
||||
bind _ split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
#switch panes using alt-hjkl
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-j select-pane -D
|
||||
|
||||
#or with the prefix and hjkl
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
bind k select-pane -U
|
||||
bind j select-pane -D
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
bind k select-pane -U
|
||||
bind j select-pane -D
|
||||
|
||||
#resize panes with HJKL
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
#sorta-kinda vim keys for copy and paste
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -sel clip -i"
|
||||
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -sel clip -i"
|
||||
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
|
||||
|
||||
#moving panes between windows.
|
||||
|
@ -59,17 +59,17 @@ bind-key s command-prompt -p "sent pane to:" "join-pane -t '%%'"
|
|||
bind r source-file ~/.tmux.conf
|
||||
|
||||
#fix annoying escape behavior
|
||||
set -sg escape-time 0
|
||||
set -sg escape-time 0
|
||||
|
||||
#pass through focus events
|
||||
set -g focus-events on
|
||||
|
||||
#customizing ma tmux status line!
|
||||
#make sure the left status line can hold the stuff we are about to give it.
|
||||
set -g status-left-length 20
|
||||
#have the left side status line display my hostname.
|
||||
set -g status-left " #{host_short} | "
|
||||
#also lengthen the right side status, by mutch more.
|
||||
set -g status-right-length 60
|
||||
#have the right side status bar display the current battery status and the time/date.
|
||||
set -g status-right 'battery:#(acpi | grep -Eo "[0-9]+%" | tr "\n" " " | sed "s/\s\+$//") | %H:%M %d/%m/%y '
|
||||
#make sure the left status line can hold the stuff we are about to give it.
|
||||
set -g status-left-length 20
|
||||
#have the left side status line display my hostname.
|
||||
set -g status-left " #{host_short} | "
|
||||
#also lengthen the right side status, by mutch more.
|
||||
set -g status-right-length 60
|
||||
#have the right side status bar display the current battery status and the time/date.
|
||||
set -g status-right 'battery:#(acpi | grep -Eo "[0-9]+%" | tr "\n" " " | sed "s/\s\+$//") | %H:%M %d/%m/%y '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue