From ce467f00c813c800753d55480ba01204709d419d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 7 Oct 2019 19:13:45 +0100 Subject: [PATCH] Add basic tmux configuration --- tmux.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tmux.conf diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..855a639 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,21 @@ +unbind C-b +set -g prefix C-a + +bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded" + +set-option -g status-bg '#666666' +set-option -g status-fg '#aaaaaa' + +set-option -g default-terminal "screen-256color" + +# Map navigation key bindings. +bind-key -n C-h select-pane -L +bind-key -n C-j select-pane -D +bind-key -n C-k select-pane -U +bind-key -n C-l select-pane -R + +bind-key - split-window -v -c '#{pane_current_path}' +bind-key \ split-window -v -c '#{pane_current_path}' + +set-option -g status-right " #(battery -t) #(date '+%a, %b %d - %H:%M') " +