How to change the New Window action? #3878
Answered
by
wez
halostatue
asked this question in
Q&A
-
I’m exploring using wezterm and can’t quite figure out how to make one thing behave like iTerm2 does, which I prefer to the current behaviour. That is:
This seems like it should be configurable, but I can’t figure out exactly what I would end up configuring to force the cwd to |
Beta Was this translation helpful? Give feedback.
Answered by
wez
Jun 19, 2023
Replies: 1 comment 4 replies
-
You can redefine the key assignment for new window to set the cwd explicitly: config.keys = {
{ key = 'n', mods = 'CMD', action = wezterm.action.SpawnCommandInNewWindow { cwd=wezterm.home_dir } },
} |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
halostatue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can redefine the key assignment for new window to set the cwd explicitly: