David Blume's GitList
Repositories
dotfiles.git
Code
Commits
Branches
Tags
Search
Tree:
443ee91
Branches
Tags
main
pathogen
remove-vim-airline
vim-airline-disabled
vim-powerline
dotfiles.git
.tmux.conf
tmux status line pane refinement; vim-airline no custom font needed
David Blume
commited
443ee91
at 2021-05-07 16:07:10
.tmux.conf
Blame
History
Raw
# C-b already in use by vim for page up. Use screen's prefix. set -g prefix C-a unbind C-b bind C-a send-prefix # Make ^a a send ^a (Useful in minicom) bind-key a send-prefix # No delay for escape key press (vim mode changes) set -sg escape-time 0 # Vim style pane splitting bind-key v split-window -h bind-key s split-window -v # Vim style pane selection bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # Use Alt-vim keys without prefix key to switch panes bind -n M-h select-pane -L bind -n M-j select-pane -D bind -n M-k select-pane -U bind -n M-l select-pane -R # Use Alt-arrow keys without prefix key to switch panes bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # Theme set -g status-keys vi set -g status-fg white set -g status-bg colour235 set -g status-left-length 10 #set -g status-left "#[fg=green]pane #P/#{window_panes}#[default]" set -g status-left "#[fg=green]#([ #{window_panes} -gt 1 ] && echo pane #P/#{window_panes})#[default]" set -g status-justify centre set -g status-right '#[fg=green]%m/%d %H:%M#[default]' setw -g mode-keys vi setw -g automatic-rename off setw -g aggressive-resize set -g allow-rename on #setw -g window-status-current-format '#[fg=yellow]#I:#F:#T:.../#{b:pane_current_path}#[default]' setw -g window-status-current-format '#[fg=yellow]#{s/\*//:window_flags} #{s\/home/dblume\~\:pane_current_path}#[default]' setw -g window-status-format '#I:#F:#W' # prefix, C-Arrow doesn't work from PuTTY. Needs TERM to be xterm set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"