In cash, C-a is beginning-of-line. C-b is backward-char.

By default, if the tmux prefix isn't changed, then a single C-b will trigger
tmux and two C-b's will send the second one to bash, running backward-char.

On Fri, May 27, 2011 at 9:18 AM, Shamaoke <shama...@hotmail.com> wrote:

> 27.05.2011 19:34, Florian CROUZAT пишет:
> >   On Fri, 27 May 2011 07:08:54 -0700, Randy Stauner wrote:
> >> what mode are you in that makes ctrl x ctrl e run the command?
> >> In my vim in insert mode it scrolls
> >   [...]
> >
> >> So I'm not exactly sure what ctrl x ctrl e is doing on your pc,
> >   Search for C-xC-e (or edit-and-execute-command) in man bash.
> >   It's not vim related, but bash. One of his $VISUAL or $EDITOR has to be
> >   vim.
> >
> >   The question is (when he'll confirm that is bash/readline is in emacs
> >   mode): "why is tmux eating either C-x or C-e ?"
> >   For that, I'd suggest looking at .tmux.conf and make sure that one of
> >   those isn't used/captured by tmux.
> >
> >
> I tackled with it. The problem was that I set the prefix key to "Ctrl-x"
> and, of course, tmux "ate" it when I tried to run the shortcut. Hence
> the next question: what is the best prefix key to use with tmux? I used
> "Ctrl-b" before, but it clash with the bash's "beginning-of-line"
> action. Then and up to now I've used "Ctrl-x" and, as you know, it clash
> with "edit-and-execute-command". Is there any "safe" key?
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to