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: if statements in .tmux.conf

2011-05-30 Thread Randy Stauner
i see. well thanks very much for the conversation. i'll put that on my to-think-about list. :-) On Mon, May 30, 2011 at 10:51 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > On Mon, May 30, 2011 at 10:36:21AM -0700, Randy Stauner wrote: > >how is it different than when i use th

Re: if statements in .tmux.conf

2011-05-30 Thread Nicholas Marriott
On Mon, May 30, 2011 at 10:36:21AM -0700, Randy Stauner wrote: >how is it different than when i use the command line inside of tmux? >does that go straight to the server? >how does that compare to calling "tmux command" from the shell? >these are mostly rhetorical questions, i'm not

Re: if statements in .tmux.conf

2011-05-30 Thread Randy Stauner
how is it different than when i use the command line inside of tmux? does that go straight to the server? how does that compare to calling "tmux command" from the shell? these are mostly rhetorical questions, i'm not asking you to email a dissertation on the inner workings... just thinking about

Re: if statements in .tmux.conf

2011-05-30 Thread Randy Stauner
maybe a path to consider would be to do conf-reading in a child process (a fork)... would that be able to wait, then when it's all done start passing values back to the server? not sure about that... it would definitely take some effort. please excuse my ignorance of the greater tmux workings. I

Re: if statements in .tmux.conf

2011-05-30 Thread Nicholas Marriott
On Mon, May 30, 2011 at 10:17:20AM -0700, Randy Stauner wrote: >maybe a path to consider would be to do conf-reading in a child process (a >fork)... >would that be able to wait, then when it's all done start passing values >back to the server? It would be very complicated because t

Re: if statements in .tmux.conf

2011-05-30 Thread Randy Stauner
true... that would make it much more difficult. On Mon, May 30, 2011 at 10:08 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > The tmux server can never block -- vRanger cuts backup time in half-while increas

Re: if statements in .tmux.conf

2011-05-30 Thread Nicholas Marriott
The tmux server can never block On Mon, May 30, 2011 at 10:05:30AM -0700, Randy Stauner wrote: >yeah, my only knowledge of that stuff comes from my experience with >perl... >i believe perl's system() call does a fork, then in the child an exec() >and in the parent a wait() or wait

Re: if statements in .tmux.conf

2011-05-30 Thread Randy Stauner
yeah, my only knowledge of that stuff comes from my experience with perl... i believe perl's system() call does a fork, then in the child an exec() and in the parent a wait() or waitpid() or something along those lines... I'd definitely need to read up on it. I'm sure with other forking going on el

Re: if statements in .tmux.conf

2011-05-30 Thread Nicholas Marriott
this is accurate, if-shell is asynchronous need to fix that sometime but it ain't easy On Sat, May 28, 2011 at 11:59:39AM -0700, Randy Stauner wrote: >I don't know too much about tmux internals but I'm going to take a guess >here: >I think the if-shell command is forking and running

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