Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-31 Thread Randy Stauner
I think at the time I frequently found myself working in environments where typing "vi" would end up in compatible mode (which I never wanted). (Probably a lot of "sudo vi file" on a new OS install...). It felt silly to have to keep installing workarounds like multiple aliases or something when i c

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-30 Thread Chas. Owens
On Mon, May 30, 2011 at 10:06, Randy Stauner wrote: snip > As another example, when I tried to teach myself to stop using "vi" and type > out "vim" i simply aliased "vi" to echo me a reminder to use "vim" and then > do nothing.  I quickly learned to stop doing that and have since removed my > alia

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-30 Thread Randy Stauner
I currently use ctrl-/. Though, strangely that key combination on my computer actually sends ctrl-_ (which is how i have to specify it in my tmux conf). Something about it makes me uncomfortable, but it's easy for my fingers to reach and doesn't clash with any other keys. tl;dr: I, too, was tired

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Patrick Shanahan
* Chas. Owens [05-28-11 16:31]: > snip > > At the very least it clashes with bash's emacs mode C-a command to > move the cursor to the begging of the line. yes, it is a great inconvenience to: -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.or

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Stroller
On 28/5/2011, at 9:28pm, Chas. Owens wrote: > On Sat, May 28, 2011 at 14:49, Stroller > wrote: >> >> On 28/5/2011, at 9:24am, Julien Jehannet wrote: ... I use CTRL-a, which is the same as screen's prefix key. A lot of blogs and introductions to tmux suggest this, so I assumed it

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Chas. Owens
On Sat, May 28, 2011 at 14:49, Stroller wrote: > > On 28/5/2011, at 9:24am, Julien Jehannet wrote: >>> ... >>> I use CTRL-a, which is the same as screen's prefix key. >>> A lot of blogs and introductions to tmux suggest this, so I assumed it was >>> what most people use. >> >> But with the same d

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Stroller
On 28/5/2011, at 9:24am, Julien Jehannet wrote: >> ... >> I use CTRL-a, which is the same as screen's prefix key. >> A lot of blogs and introductions to tmux suggest this, so I assumed it was >> what most people use. > > But with the same drawback often complained by screen users then. What dra

Re: Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Jakob Hetzelein
Am 28.05.2011 10:24, schrieb Julien Jehannet: > 2011/5/28 Stroller : >> >> On 27/5/2011, at 5:18pm, Shamaoke wrote: >>> ... >>> 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? >> >> I use CTRL-a, which is the same as scr

Prefix key preference [Was: Run long commands in Vim]

2011-05-28 Thread Julien Jehannet
2011/5/28 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 >>