summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf8
1 files changed, 3 insertions, 5 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 62733e4..b032a3f 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -1,12 +1,11 @@
# Load tmux config
-bind r source-file $HOME/.config/tmux/.tmux.conf
+bind r source-file $HOME/.config/tmux/tmux.conf
# Bind prefix to C-a
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
-
# Allows vim to display colors correctly.
set -g default-terminal 'screen-256color'
set -ga terminal-overrides ',*256col*:Tc'
@@ -29,7 +28,7 @@ set -g history-limit 10000
setw -g mode-keys vi
setw -g mouse off
-# split panes
+# split panes
bind v split-window -h
bind h split-window -v
unbind '"'
@@ -47,11 +46,10 @@ bind-key M-l resize-pane -R
# Use Alt-vim keys without prefix key to switch panes
bind -n M-h select-pane -L
-bind -n M-j select-pane -D
+bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
-
bind Escape copy-mode
bind p paste-buffer
bind -T copy-mode-vi v send -X begin-selection