Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve for split panes only #12

Open
jakearchibald opened this issue Jan 4, 2017 · 4 comments
Open

Preserve for split panes only #12

jakearchibald opened this issue Jan 4, 2017 · 4 comments

Comments

@jakearchibald
Copy link

Similar to #2 - it'd be great to be able to configure when the directory is preserved.

In iTerm I only preserve the directory when splitting a pane.

@hharnisc
Copy link
Owner

hharnisc commented Jan 8, 2017

Seems like a nice config option @jakearchibald

@hharnisc
Copy link
Owner

hharnisc commented Jan 8, 2017

Marking this as an enahancement

@adrianObel
Copy link

Is this being worked on at all? I don't know the codebase at all but it's a feature I'm interested in and am willing to help out

@hharnisc
Copy link
Owner

Hi @adrianObel 👋

This would be a great one to get some help on!

I think the configuration would look like this:

module.exports = {
  config: {
    // ... other config options

    // add the hypercwd configuration object like this
    hypercwd: {
      initialWorkingDirectory: '~/Documents',
      setNewTab: true, // default to true if not set for all of these new options
      setNewWindow: true,
      setNewPane: true,
    }
  },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants