Howto go to beginning of line in tmux after remapping prefix to CTRL+A?

following the suggestion in this Archlinux wiki, in the page about tmux I remapped the command key prefix to Ca , to mimic GNU screen and to have something easier on the keyboard than Cb . So my .tmux.conf became this:

set -g default-terminal "screen-256color"
unbind C-b
set -g prefix C-a
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

However, while in screen it was possible to use Ca a to jump to the beginning of line, this does not work any more in tmux. As a sidenote, I'm using iTerm2 without the tmux integration.

Does anybody know how to solve this?

Thanks!


您需要告诉tmux前缀+ a应该将前缀键发送到当前窗格中运行的程序:

bind a send-prefix
链接地址: http://www.djcxy.com/p/86126.html

上一篇: Tmux复制模式:如何创建自己的命令?

下一篇: 如何在将前缀重新映射到CTRL + A之后进入tmux的行首?