From 11b04ad1e5ef81d42c4384af94d7ba4161f0c160 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Tue, 21 Feb 2023 01:04:26 -0500 Subject: Added nvim and tmux config --- tmux/tmux.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tmux/tmux.conf (limited to 'tmux/tmux.conf') diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..c86cc6c --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,33 @@ +set -g mouse on +unbind C-b +set -g prefix C-a +set-option -sg escape-time 10 +set -g status-keys vi +set -g base-index 1 +set -g pane-base-index 1 +set -g default-shell /bin/zsh + +set -g mode-keys vi + +set -g editor $EDITOR +set -g renumber-windows on + + +#vi bindings +unbind-key h +unbind-key j +unbind-key k +unbind-key l +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +# Pane splitting +bind | split-window -h +bind _ split-window -v + + +# Sourcing +source-file ~/.config/tmux/theme.tmux.conf +if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/remote.tmux.conf' -- cgit v1.2.3