summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorSean Whitton <spw+git@sdf.org>2014-10-21 22:25:09 +0900
committerSean Whitton <spw+git@sdf.org>2014-10-21 22:25:09 +0900
commit4460b9047c7eb6705eefb76ac170575c613c0f61 (patch)
tree2237fc1ad732d5fa7619a75caf899a267a494403 /.tmux.conf
parent93b478ae2652942df3401b4755d0c47c733e28de (diff)
downloaddotfiles-4460b9047c7eb6705eefb76ac170575c613c0f61.tar.gz
more sensible tmux bindings given readline
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf13
1 files changed, 6 insertions, 7 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 590ebcf4..7e12cadc 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -32,12 +32,12 @@ set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d %b %Y #[fg=green]:: %l
# --- key bindings
unbind C-b
-set -g prefix C-e
+set -g prefix C-k
# C-z Z to send C-z to e.g. nested tmux, and C-z C-z to bounce between windows
-bind e send-prefix
-unbind C-e
-bind-key C-e last-window
+bind k send-prefix
+unbind C-k
+bind-key C-t last-window
# splitting should maintain current working directory
bind '"' split-window -c "#{pane_current_path}"
@@ -45,10 +45,9 @@ bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# my launcher shortcuts
-unbind t
bind-key m command-prompt -p "man" "split-window 'exec man %%'"
-bind-key t command-prompt -p "host" "split-window 'mosh %1'"
-bind-key C-t command-prompt -p "host" "new-window -n %1 'mosh %1'"
+bind-key e command-prompt -p "host" "split-window 'mosh %1'"
+bind-key C-e command-prompt -p "host" "new-window -n %1 'mosh %1'"
# --- zenburn from https://github.com/plathrop/dotfiles/blob/master/tmux/zenburn.conf