aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.tmux.conf16
1 files changed, 7 insertions, 9 deletions
diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf
index 74f3c32..297354a 100644
--- a/%HOME%/.tmux.conf
+++ b/%HOME%/.tmux.conf
@@ -8,7 +8,7 @@
# C-b is hella uncomfortable to press.
unbind C-b
set -g prefix C-j
-bind -n C-a send-prefix
+bind -n M-j send-prefix
# Numbering starts at 1 instead of 0.
set -g base-index 1
@@ -77,10 +77,10 @@ bind -r C-k select-pane -U
bind -r C-l select-pane -R
# Switch between windows. Ctrl must be released.
-bind h next-window
-bind l previous-window
-#bind h select-window -t :-
-#bind l select-window -t :+
+#bind h next-window
+#bind l previous-window
+bind h select-window -t :-
+bind l select-window -t :+
# Copy mode bindings
# ------------------
@@ -107,8 +107,7 @@ if-shell 'uname | grep -q -F CYGWIN' {
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'cat > /dev/clipboard'
bind-key -T root MouseDown2Pane run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer'
- unbind p
- bind-key p run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer'
+ bind-key ] run 'cat /dev/clipboard | tmux load-buffer - && tmux paste-buffer'
}
# The simple `xsel -i --clipboard` doesn't work, but `xsel -i -p && xsel -o -p
@@ -124,8 +123,7 @@ if-shell 'uname | grep -q -F Linux && which xsel' {
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b'
bind-key -T root MouseDown2Pane run 'xsel -o | tmux load-buffer - && tmux paste-buffer'
- unbind p
- bind-key p run 'xsel -o | tmux load-buffer - && tmux paste-buffer'
+ bind-key ] run 'xsel -o | tmux load-buffer - && tmux paste-buffer'
}
# Appearance