File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ _327 TILs and counting..._
268268- [ Jumping Between Sessions] ( tmux/jumping-between-sessions.md )
269269- [ List All Key Bindings] ( tmux/list-all-key-bindings.md )
270270- [ List Sessions] ( tmux/list-sessions.md )
271+ - [ Open New Window With A Specific Directory] ( tmux/open-new-window-with-a-specific-directory.md )
271272- [ Organizing Windows] ( tmux/organizing-windows.md )
272273- [ Paging Up And Down] ( tmux/paging-up-and-down.md )
273274- [ Pane Killer] ( tmux/pane-killer.md )
Original file line number Diff line number Diff line change 1+ # Open New Window With A Specific Directory
2+
3+ When you initially start a tmux session, the default directory is based off
4+ of whatever the current working directory was. Any subsequent windows opened
5+ within that tmux session will be opened with that as the base directory.
6+
7+ To open a window with a different default directory, use the ` -c ` flag with
8+ the ` new-window ` command. For example, hit ` <prefix>: ` and then
9+
10+ ```
11+ :new-window -c ~/
12+ ```
13+
14+ to open a new window with your home directory.
15+
16+ [ source] ( http://unix.stackexchange.com/questions/12032/create-new-window-with-current-directory-in-tmux )
You can’t perform that action at this time.
0 commit comments