From 506edf46c76d9d5ca5982892e5e36ea46ebbcc72 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 11 Dec 2020 18:03:03 -0300 Subject: [PATCH] Fixed using Ctrl+A in the console and added splits --- tmux/tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 003ceee..6175d32 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -2,11 +2,17 @@ set -g prefix C-a # ... not Ctrl+B, which is the default unbind C-b +# ... and pressing Ctrl+A twice sends the Ctrl+A +bind C-a send-prefix # Panes and Windows start at index 1, not 0 set -g base-index 1 set -g pane-base-index 0 +# using "|" and "-" for splits +bind \\ split-window -h +bind - split-window -v + # Ctrl+Enter creates a new tab bind Enter new-window