David Blume's GitList
Repositories
dotfiles.git
Code
Commits
Branches
Tags
Search
Tree:
dfcc2df
Branches
Tags
main
pathogen
remove-vim-airline
vim-airline-disabled
vim-powerline
dotfiles.git
.tmux.conf
Add C-a a in tmux; tweaks for p4changelist filetype.
David Blume
commited
dfcc2df
at 2021-01-07 15:58:46
.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 20 set -g status-left '#[fg=green][#S]#[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 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]#I:#F:#{s\/home/corp.roku/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@"