2
votes
1answer
210 views

How to quickly switch to n.10+ windows in tmux

Tmux by default comes with the following keybinding to quickly switch between windows numbered 0 to 9: C-b + 0-9 With a couple of dozen different project folders, a few ssh sessions and other ...
3
votes
1answer
578 views

vim inside tmux: throws “E388” with <C-Left> in insert mode [duplicate]

I've read that in insert mode in vim, one can use <C-Left> and <C-Right> to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter. When inside ...
5
votes
1answer
879 views

tmux - scroll up/down with shift + page up/down into a pane

I would like to be able to scroll up/down into a given pane with the same keybinding that xterm does, i.e SHIFT + Page Up/Down. For example, if the tmux window is divided into 2 vertical panes, I ...
1
vote
1answer
233 views

Tmux key-table explanation

I was reading through the tmux man pages in order to understand the different options for bind-key and bumped into the -t flag: If -t is present, key is bound in key-table: the binding for command ...
1
vote
1answer
213 views

Use forward slash as a key command in tmux

In tmux, is it possible to bind forward slash to a command? The command I want to create is below: bind-key -nr C-M-/ kill-window \; next-window This config errors with: /home/joe/.tmux.conf:42: ...
2
votes
2answers
443 views

Why doesn't tmux respond to shortcuts properly?

I'm using OSX 10.8.1 in combination with iTerm2, zsh and tmux via Homebrew. The beginning of my ~/.tmux.conf file looks like this: set -g prefix C-a unbind C-b bind-key a send-prefix set -sg ...
1
vote
3answers
642 views

tmux - how can I map new keys for the window (pane) cycle?

In the tmux application, how can I map ctrl-a, o (window cycle) to ctrl-a, w ?
7
votes
1answer
1k views

Looking for non-conflicting cross-platform keybinding consistency

I use Mac OS X and Arch Linux and occasionally log into FreeBSD and Debian servers by ssh. My favoured tools are zsh, ssh, tmux, git, vim and irssi. I use iTerm2 on Mac OS X and unicode-rxvt on Arch ...
19
votes
3answers
4k views

How can I make ctrl+left/right keys work right in tmux?

In both zsh and bash, ctrl+arrows allows me to move the position I'm typing at by whole word, but this does not work in tmux, which is a problem as I'm currently launching it automatically every time ...
18
votes
1answer
5k views

Binding a command in tmux without using the prefix key

Is it possible to bind a tmux command to a key combination and use it directly without first pressing the prefix? I find C-b + n too cumbersome to switch panes, so I was wondering whether I could ...