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