An Interest In:
Web News this Week
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
- March 24, 2024
tmux new-window
New window as it sounds makes new windows in tmux. Windows are kind of like tabs. They are another screen within your sessions that you can name and make
new panes in.
Default key bindings for creating and navigating windows in tmux.
bind-key c new-windowbind-key p previous-windowbind-key n next-window
As always I have rebound these keys because I generally prefer a single keystroke over the prefix plus keybinding approach that tmux gives by default.
#windowsbind -n M-c new-window -c '#{pane_current_path}'bind -n M-p previous-windowbind -n M-n next-window
When I started using tmux I did almost everything in one giant session with many panes and windows. It became a nightmare to manage and quickly get between two sets work efficiently. This year I leaned in on sessions quite heavily. Checkout this post to see that workflow in depth.
Be sure to check out the full youtube playlist and subscribe if you like it.
https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr
Also check out this long form post for more about how I use tmux.
Original Link: https://dev.to/waylonwalker/tmux-new-window-2cpc
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To