commit a8728dc42cd60b130225683c4fa273ae69e27658 parent 6b28ed443db959b4d031f983637ec0f251fba428 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sat, 28 Sep 2019 14:59:45 -0400 tmux Former-commit-id: 0ede00c6994137ab34f5c77ecf9e04080313dba0 Diffstat:
A | tmux/tmux.conf | | | 57 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 57 insertions(+), 0 deletions(-)
diff --git a/tmux/tmux.conf b/tmux/tmux.conf @@ -0,0 +1,57 @@ +#bind-key C-a last-window # C-a C-a for last active window +unbind % # unbind vertical split +unbind '"' # unbind horizontal split +unbind C-b # unbind default leader key +unbind j +bind A command-prompt "rename-window %%" +bind C-j previous-window +bind C-k next-window +bind M-- select-layout "even-vertical" +bind M-r rotate-window +bind M-| select-layout "even-horizontal" +bind o select-layout "active-only" +bind-key -n C-down next +bind-key -n C-left prev +bind-key -n C-right next +bind-key -n C-up prev +bind-key -r C-h resize-pane -L +bind-key -r C-j resize-pane -D +bind-key -r C-k resize-pane -U +bind-key -r C-l resize-pane -R +bind-key Enter break-pane +bind-key J command-prompt -p "join pane from:" "join-pane -s '%%'" +bind-key Space list-panes +bind-key s split-window -v # split pane horizontally +bind-key S choose-tree -Zs +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R +bind-key r source-file ~/.tmux.conf +bind-key v split-window -h # split pane vertically +set -g history-limit 30000 +set -g mouse on +set -g prefix C-a +set -g terminal-overrides 'xterm*:smcup@:rmcup@' +set-option -g default-terminal "xterm-256color" +set-option -g pane-active-border-style fg=green +set-option -g set-titles on +set-option -g set-titles-string '#H:#S.#I.#P #W #T' +set-option -g status-bg black # colour213 # pink +set-option -g status-fg cyan +set-option -g status-interval 5 +set-option -g status-justify right +set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]' +set-option -g status-left-length 30 +set-option -g status-right '#[fg=red,bold] #[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]' +set-option -g visual-activity on +set-window-option -g mode-keys vi # vi key +set-window-option -g monitor-activity on +set-window-option -g window-status-current-style bg=red +set-window-option -g window-status-current-style fg=white +set-window-option -g xterm-keys on # for vim +setw -g aggressive-resize on +setw -g automatic-rename +setw -g mode-keys vi +setw -g mode-style bg=black +setw -g window-status-current-style reverse