learn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn [2023/12/09 23:58] – [CLI Navigation (vim / i3 / tmux)] dblume | learn [2024/04/09 19:32] (current) – Added tmux resize window recipe dblume | ||
---|---|---|---|
Line 13: | Line 13: | ||
| i3 | windows | | i3 | windows | ||
- | If I'm in i3, I'm usually local to the machine and don't start tmux sessions. So for me it's either | + | If I'm in i3, I'm usually local to the machine and don't start tmux sessions. So for me it's either |
These are the everyday things I have to do in each: | These are the everyday things I have to do in each: | ||
Line 24: | Line 24: | ||
| tmux | Prefix,s | New pane below | | | tmux | Prefix,s | New pane below | | ||
| tmux | Prefix,v | New pane on side | | | tmux | Prefix,v | New pane on side | | ||
- | | i3 | Mod+D or Enter or g | Every app launches into a new window | | + | | i3 | Mod+d or Enter or g | Every app launches into a new window |
^ Close Window / Pane / Window | ^ Close Window / Pane / Window | ||
Line 38: | Line 38: | ||
| vim | C-w,<> | | vim | C-w,<> | ||
| tmux | Prefix,HJKL | Change dimension in that direction | | | tmux | Prefix,HJKL | Change dimension in that direction | | ||
+ | | tmux | Prefix, | ||
| i3 | Mod+r,hjkl | Enter resize mode (or drag bar with mouse) | | | i3 | Mod+r,hjkl | Enter resize mode (or drag bar with mouse) | | ||
^ Maximize Window / Pane / Window | ^ Maximize Window / Pane / Window | ||
^ Context ^ Key ^ Action ^ | ^ Context ^ Key ^ Action ^ | ||
- | | vim | Leader,o | Maximize only this window in new tab | | + | | vim | Leader,o | Maximize only this window in new tab (find [[https:// |
| tmux | Prefix,z | toggle maximize | | | tmux | Prefix,z | toggle maximize | | ||
- | | i3 | Mod,f | maximize window | | + | | i3 | Mod+f | maximize window | |
^ Navigate Window, Buffer / Pane / Window | ^ Navigate Window, Buffer / Pane / Window | ||
^ Context ^ Key ^ Action ^ | ^ Context ^ Key ^ Action ^ | ||
| vim | C-w,hjkl | Select that window | | | vim | C-w,hjkl | Select that window | | ||
- | | vim | tab | Next buffer (in this window) | | + | | vim | tab | Next buffer (in this window) (find [[https:// |
| tmux | Prefix,hjkl | Select that pane | | | tmux | Prefix,hjkl | Select that pane | | ||
- | | tmux | Prefix,tab | Next/prev pane, maximized | | + | | tmux | Prefix,tab | Next/prev pane, maximized |
| i3 | Mod+hjkl | select that window | | | i3 | Mod+hjkl | select that window | | ||
Line 57: | Line 58: | ||
^ Context ^ Key ^ Action ^ | ^ Context ^ Key ^ Action ^ | ||
| vim | C-w,HJKL | Move window in that direction | | | vim | C-w,HJKL | Move window in that direction | | ||
- | | tmux | Prefix,{ or } | Rotate | + | | tmux | Prefix,{ or } | Swap panes | |
+ | | tmux | Prefix, | ||
| i3 | Mod+HJKL | Move window in that direction | | | i3 | Mod+HJKL | Move window in that direction | | ||
Line 64: | Line 66: | ||
| vim | Leader,t,n or :tabnew | New tab | | | vim | Leader,t,n or :tabnew | New tab | | ||
| tmux | Prefix,c | Create a new window | | | tmux | Prefix,c | Create a new window | | ||
- | | i3 | Ctrl+Mod+Shift+o | Move to first available workspace | | + | | i3 | Ctrl+Mod+Shift+o | Move to first available workspace |
Line 109: | Line 111: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | ||
| '' | | '' |
learn.1702195096.txt.gz · Last modified: 2023/12/09 23:58 by dblume