When Splitting a Pane (either horizontally or vertically) the new Pane should have the same working directory as the old one.
I make heavy use of the panes, as I like to get multiple watching processes going at once and see them all in one place. It would be a bit more productive for me if I didn't have to constantly cd into the project directory every time I split a pane. Thanks.
Did you check the list with plugin's for that: https://github.com/bnb/awesome-hyper
This plugin will do: https://www.npmjs.com/package/hypercwd
No, I didn't check plugins. Thanks.
https://www.npmjs.com/package/hypercwd preserves the CWD for Tabs, but not Split Panes.
https://www.npmjs.com/package/hypercwd preserves the CWD for Tabs, but not Split Panes.
It does, for me it works on panes _and_ tabs.
If your answer was "It does (on Mac)" then you'd be right, but on Windows it doesn't. :)
Looks like they have an open issues https://github.com/hharnisc/hypercwd/issues/18 but the project hasn't moved forward in 6 months. Isn't this something that should be core, rather than a plugin?
I did a quick look on the plugin code, indeed my guess is that this will only work on Linux and macOS (maybe Bash on Windows or Cygwin like stuff as well) and not in cmd on windows..
I think this feature could most definitely be awesome to have in the core and configurable (just panes and not tabs or visa versa or both).
We're currently considering having this in the core.
Speaking of tabs and working directory, I am adding Hyper to Nautilus context menu and I'm trying to figure out what parameter do you feed hyper so it opens on the indicated directory. Can anyone help me here :(?
maybe this link will give you some help with that: https://askubuntu.com/questions/845178/how-to-open-nautilus-directory-in-current-terminal
disclamer: did just a quick google search and found this one..
I'd also like to see this in core! (I'm the guy who opened https://github.com/hharnisc/hypercwd/issues/18. 馃槂) Just wanted to mention that as a user on Windows running Hyper on the WSL, I'd love to see support for both Windows/cmd.exe
and bash in the WSL.
I had some time this weekend to update hypercwd
for windows https://github.com/hharnisc/hypercwd/pull/25
If you update hypercwd
to version 1.0.0 you should get the new functionality
hypercwd
would get error when opening a new tab https://github.com/hharnisc/hypercwd/issues/51 .
It looks like some hyper update after 2.0.0 break hypercwd .
This feature should be build-in .
@hharnisc can we get another fix? It just freezes Hyper when used :\
Most helpful comment
We're currently considering having this in the core.