Re: [dev] [dwm] [PATCH] spawn_cwd - spawn from current client's cwd

From: Suraj N. Kurapati <sunaku_AT_gmail.com>
Date: Fri, 25 Nov 2011 11:39:30 -0800

On Fri 25 Nov 2011 10:11:35 AM PST, Kurt Van Dijck wrote:
> Suraj N. Kurapati wrote:
> >the ability to open new programs in the currently focused
> >client's workdir.
> >https://github.com/sunaku/.dwm/compare/tip...spawn_cwd
>
> I don't understand the feature.

It's all about spatial locality. When I'm editing some code in Vim,
I like to launch some new terminals (or file managers) in the same
working directory as the file I'm editing to do additional things.

Without this feature, I have to *manually* navigate to that working
directory in the helper application (terminal or file manager) that
I launched. This becomes tiresome and inefficient as time goes on.

> I appears to assume that all clients run on the same host?

Yes, and that's good enough for me. However, in the case that the
remote client's title contains a path that also exists on the local
machine (perhaps network mounted on both local & remote machines)
then your newly launched program will start in your local directory.

-- 
On the eighth day, God created FORTRAN.

Received on Fri Nov 25 2011 - 20:39:30 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2011 - 20:48:03 CET