You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone know if it's possible to use the filepicker in a layout file to choose the CWD of the tab?
I have created this layout for my development that I frequently do, and would like to automate it a tab more such that when I open the layout it opens up a file picker to pick the CWD of the main pane (the one with command="nvim". I would also want the filepicker to start with a cwd that isn't /.
The main pane has a cwd of my project root, and opens nvim (which I have session management that will open the session for that project). Then I have three small terminals in vertically split panes along the bottom that have their cwds set in various locations within my project to perform specific functions. If I have to forgo the command="nvim" and start that manually, that's fine.
Bonus points, would it be possible to have the bottom panes change their directory to another project to follow the main pane? So if I drop to a shell in the main pane and then change to another clone of the project (in my workflow, I have multiple branches cloned separately of the same repo, based on what features I am working on at the moment)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know if it's possible to use the
filepickerin a layout file to choose the CWD of the tab?I have created this layout for my development that I frequently do, and would like to automate it a tab more such that when I open the layout it opens up a file picker to pick the CWD of the main pane (the one with
command="nvim". I would also want the filepicker to start with a cwd that isn't/.The main pane has a cwd of my project root, and opens
nvim(which I have session management that will open the session for that project). Then I have three small terminals in vertically split panes along the bottom that have their cwds set in various locations within my project to perform specific functions. If I have to forgo thecommand="nvim"and start that manually, that's fine.Bonus points, would it be possible to have the bottom panes change their directory to another project to follow the main pane? So if I drop to a shell in the main pane and then change to another clone of the project (in my workflow, I have multiple branches cloned separately of the same repo, based on what features I am working on at the moment)
Beta Was this translation helpful? Give feedback.
All reactions