diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-02-05 20:38:10 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-02-05 20:38:10 +0900 |
commit | ea6747dba7ce0aedf953800061778fa0760d4ef1 (patch) | |
tree | 22d791887231c5d9456f1a2d44095f65cdf69aea /.tmux.conf | |
parent | 0b624c5d542c3b3ee590d5e9f47cec4b73684def (diff) | |
download | dotfiles-ea6747dba7ce0aedf953800061778fa0760d4ef1.tar.gz |
finally normalise tmux launcher bindings
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -35,7 +35,8 @@ set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]:: %d %b %Y #[fg=green]:: %l unbind C-t set -g prefix C-t -# C-t t to send C-t to e.g. nested tmux, and C-t C-t to bounce between windows +# C-t t to send C-t to e.g. Emacs or nested tmux, and C-t C-t to +# bounce between windows bind t send-prefix unbind C-t bind-key C-t last-window @@ -45,10 +46,12 @@ bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" -# my launcher shortcuts +# my launcher shortcuts: mnemonic is h for host and e for emacs/editor bind-key m command-prompt -p "man" "split-window 'exec man %%'" -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'" +bind-key h command-prompt -p "host" "split-window 'mosh %1'" +bind-key C-h command-prompt -p "host" "new-window -n %1 'mosh %1'" +bind-key e split-window 'emacsclient -amg -t' +bind-key C-e new-window -n emacs 'emacsclient -amg -t' # --- zenburn from https://github.com/plathrop/dotfiles/blob/master/tmux/zenburn.conf |