Request JavaVi implement the :cd command
Brought to you by:
err
As a user, I would like the ability to change the working directory from within jVi so that I can reduce typing necessary for running shell commands from a particular location.
Example behavior
:!pwd
--------------------------------------------
/bin/bash -c pwd
/home/username
--------------------------------------------
:cd git
:!pwd
--------------------------------------------
/bin/bash -c pwd
/home/username/git
Acceptance Criteria
This is not as simple as I'd hoped. You can't change the direct of the java runtime.
StackOverflow
Notice that there's a issue against java marked "won't fix".
I'll think about how I might track a virtual
cwd, a key part is detecting when:cd abcwould fail. I think handling:!xxxis already done with java's process builder and you can specify a directory.RobertS, was the ^R in command line insert useful?
Available since jVi-2.0