Subj : Re: Screen or tmux?
To   : Digital Man
From : Gamgee
Date : Sat May 01 2021 07:16 am

-=> Digital Man wrote to Gamgee <=-

> Yep.  Tmux uses Ctrl-B as it's prefix by default, which is extremely
> awkward, but thankfully it's easily configured to Ctrl-A.  ;-)

DM> Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's
DM> the first thing I change when using tmux (which admittedly, isn't
DM> all that often).

Hard to believe that *anyone* would actually prefer Ctrl-B...  :-)

You probably already know this, but you can "permanently" define your
desired prefix key in a config file (Linux "dotfile") called .tmux.conf

My very simple config looks like this:

# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D


... Enter any 12 digit prime number to continue.
--- MultiMail/Linux v0.52
� Synchronet � Palantir BBS * palantirbbs.ddns.net * Pensacola, FL