iOS 17 Developer Beta 3 Installation Breaks LINE
Recently, I started using Kitty, a GPU-accelerated terminal emulator, again.
One of my concerns is that on my Mac, there seems to be some conflict with existing keyboard shortcuts, making Kitty's "Layouts" feature unusable. While I could choose to change the keyboard shortcuts, I'd rather solve it differently. Instead, I'm relying on an old and reliable technology: Tmux.
However, since I'm a bit rusty with the basic usage, I've put together this simple guide for myself. I'm sharing it here as it might be helpful to others.
If you haven't installed it yet, you can install it with brew install tmux
.
-
Start a new tmux session: Open terminal and run
tmux
. -
Split vertically: Within the tmux session, press
Ctrl-b
followed by%
. This splits the window vertically. -
Split horizontally: Press
Ctrl-b
followed by"
.
Basic Navigation and Management Commands:
-
Move between panes: Press
Ctrl-b
followed by arrow keys. -
Close a pane: Press
Ctrl-b
followed byx
. -
Detach from session: Press
Ctrl-b
followed byd
.
Best Practices:
-
Name your sessions: Use
tmux new -s session_name
to make it easier to identify sessions later. -
Reattach to sessions:
tmux attach -t session_name
is useful when returning to detached sessions.
This article was originally published on Qiita.