what mode are you in that makes ctrl x ctrl e run the command?
In my vim in insert mode it scrolls
and in normal mode the ctrl x decrements the current character (turns e to d
or 2 to 1).

So I'm not exactly sure what ctrl x ctrl e is doing on your pc,
but often if i am using vim to compose a command I will write the file out
to a pipe to bash:

:w ! bash

Make sure there is a space between the "w" and the "!".
Is that what you were looking for?

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

> Hi.
>
> In the console it's possible to write long commands in Vim and then to
> run them. In order to do it one should press the combination Ctrl + x,
> Ctrl + e. However, for some reason this shortcut doesn't work in Tmux.
>
> How can I achieve this feature to work?
>
> Thanks.
>
> Debian GNU/Linux 5.0.6;
>
> GNOME-terminal 2.30.2;
>
> Bash 4.1.5;
>
> Tmux 1.3-2.
>
>
> ------------------------------------------------------------------------------
> 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