Re: Run long commands in Vim

2011-05-28 Thread Stroller
On 27/5/2011, at 5:18pm, Shamaoke wrote: > ... > 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 c

Re: Run long commands in Vim

2011-05-27 Thread Joshua Keroes
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 wrote: > 27.05.2011 19:34, Florian CROUZAT

Re: Run long commands in Vim

2011-05-27 Thread Shamaoke
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 fo

Re: Run long commands in Vim

2011-05-27 Thread 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.

Re: Run long commands in Vim

2011-05-27 Thread Randy Stauner
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 comma

Re: Run long commands in Vim

2011-05-27 Thread contact
On Fri, 27 May 2011 15:45:41 +0400, Shamaoke 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. Works fo