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

allow disabling current pane path as new windows starting path #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

almonteb
Copy link

added "@new_window_path" to allow disabling using the panes current path as the new windows starting path

@almonteb
Copy link
Author

@bruno- any thoughts?

@bruno-
Copy link
Member

bruno- commented Sep 28, 2017

Hey, can you please explain why this would be useful? It's the first time I see someone doesn't want to split by the pane current dir.

@almonteb
Copy link
Author

@bruno-, this is not for splits within the current pane, that behavior will stay the same.

This is to allow disabling setting the $PWD of the current pane as the $PWD when creating a new window. The default behavior is preserved, creating a new window will keep the $PWD of the previous windows $PWD.

@bruno-
Copy link
Member

bruno- commented Sep 28, 2017

Oh, ok. I just skimmed the PR changes, thanks for clarifying.

Can you provide the reasoning why would this feature be desirable?

@almonteb
Copy link
Author

Sure -- I typically run a single tmux session with multiple windows each having their own project context. This is also brings back the default behavior of tmux.

@almonteb
Copy link
Author

almonteb commented Nov 2, 2017

ping @bruno-

@bruno-
Copy link
Member

bruno- commented Nov 3, 2017

Hey, I'm not for adding this option to an otherwise dead-simple plugin.

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

Successfully merging this pull request may close these issues.

2 participants