DEV Community

0 seconds of 2 minutes, 5 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
02:05
 
Waylon Walker
Waylon Walker

Posted on • Edited on • Originally published at waylonwalker.com

5 2

tmux prefix

The prefix key is an essential part of tmux, by default all of tmux's
key-bindings sit behind a prefix. This prefix is very similar to vim's leader
key. It is common for folks to change the default C-b (control b) to C-a or
if they are a vim user something to match their vim leader key.

set -g prefix C-Space
bind Space send-prefix
Enter fullscreen mode Exit fullscreen mode

A few of the essential default key-bindings.

%      vertical split
"      horizontal split
d      detach

up     select up one pane
down   select down one pane
right  select right one pane
left   select left one pane

t      clock
o      swap panes
c      create window
n      next window
p      previous window
Enter fullscreen mode Exit fullscreen mode

A more complete list of key-bindings can be found in this gist https://gist.github.com/mzmonsour/8791835.


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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay