From d47dd5aa3882aea1a8eff4fb9faa4881274559dc Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 17 Jan 2023 12:45:46 +0100 Subject: Unify things and rename things --- tmux/tmux.conf | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tmux/tmux.conf (limited to 'tmux') diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..bd8d4b5 --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,57 @@ +# KEY BINDINGS + +setw -g mode-keys vi + +# remap prefix to Control + a +set -g prefix C-q +unbind C-b +bind C-q send-prefix + +unbind q +bind-key q copy-mode + +unbind p +bind p paste-buffer + +# force a reload of the config file +unbind r +bind r source-file ~/.tmux.conf + +# quick pane cycling +unbind ^A +bind ^A select-pane -t :.+ + +# switch panes using vim-like bindings C-a hjkl +unbind h +unbind j +unbind k +unbind l +bind h select-pane -L +bind l select-pane -R +bind k select-pane -U +bind j select-pane -D +# switch panes using bindings C-q C-hl +unbind ^H +unbind ^L +bind ^H previous-window +bind ^L next-window + +# OTHER OPTIONS + +set -g mouse on + +set -g escape-time 0 + +# don't rename windows automatically +set-option -g allow-rename off + +set -g default-terminal "screen-256color" + + +###################### +### DESIGN CHANGES ### +###################### + +set -g status-bg colour8 +set -g status-fg colour15 + -- cgit v1.2.3