aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-18 05:22:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-18 05:22:10 +0300
commitd8720c586113f8df4ce6a1cbfbcff1ac1d08c089 (patch)
tree1deb6dc361fc0f66f76c1836e0b2efd1d4a5bf16
parent.bashrc: remove redundant PS1 check (diff)
downloadlinux-home-d8720c586113f8df4ce6a1cbfbcff1ac1d08c089.tar.gz
linux-home-d8720c586113f8df4ce6a1cbfbcff1ac1d08c089.zip
tmux: revise key bindings some more
-rw-r--r--%HOME%/.tmux.conf16
1 files changed, 5 insertions, 11 deletions
diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf
index 29e36ec..b4211b8 100644
--- a/%HOME%/.tmux.conf
+++ b/%HOME%/.tmux.conf
@@ -74,16 +74,10 @@ bind -n M-9 select-pane -t 9
bind -n M-0 select-pane -t 0
# Not quite so quick, but still OK.
-bind -r C-h select-pane -L
-bind -r C-j select-pane -D
-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 -r h select-pane -L
+bind -r j select-pane -D
+bind -r k select-pane -U
+bind -r l select-pane -R
# Copy mode bindings
# ------------------
@@ -114,7 +108,7 @@ if-shell 'uname | grep -q -F CYGWIN' {
}
# The simple `xsel -i --clipboard` doesn't work, but `xsel -i -p && xsel -o -p
-# | xsel -i -b`, described on [1] does. How fun!
+# | xsel -i -b`, described in [1] does. How fun!
if-shell 'uname | grep -q -F Linux && which xsel' {
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xsel -i -p && xsel -o -p | xsel -i -b'