diff options
author | Sean Whitton <spw+git@sdf.org> | 2014-10-21 19:24:43 +0900 |
---|---|---|
committer | Sean Whitton <spw+git@sdf.org> | 2014-10-21 19:24:43 +0900 |
commit | c69a25c2ead3b6e83a665234d5ecdb5027b2b2e2 (patch) | |
tree | 9f5c95b5df4237cb1e5e610679d8d74bd3e17c44 /.tmux.conf | |
parent | fe8937c263a9d7b7c5370b3f0fcf05c3713e6dd4 (diff) | |
download | dotfiles-c69a25c2ead3b6e83a665234d5ecdb5027b2b2e2.tar.gz |
update tmux for change back to vi
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -14,7 +14,7 @@ set -g history-limit 10000 set -sg escape-time 1 set -g set-titles on set -g set-titles-string "tmux #I:#W" -setw -g mode-keys emacs +setw -g mode-keys vi set-window-option -g xterm-keys on set -g default-terminal "screen-256color" @@ -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-z +set -g prefix C-e # C-z Z to send C-z to e.g. nested tmux, and C-z C-z to bounce between windows -bind Z send-prefix -unbind C-z -bind-key C-z last-window +bind e send-prefix +unbind C-e +bind-key C-e last-window # splitting should maintain current working directory bind '"' split-window -c "#{pane_current_path}" @@ -45,11 +45,10 @@ bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" # my launcher shortcuts -bind-key C-m command-prompt -p "man" "split-window 'exec man %%'" -bind-key e new-window -n "emacs" "emacsclient -nw" -bind-key C-e split-window "emacsclient -nw" -bind-key C-s command-prompt -p "host" "split-window 'ssh %1'" -bind-key S command-prompt -p "host" "new-window -n %1 'ssh %1'" +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'" # --- zenburn from https://github.com/plathrop/dotfiles/blob/master/tmux/zenburn.conf |