you should place the file in ~
, or ln -s ~/.config/tmux/.tmux.conf ~/.tmux.conf
let prefix
be c-x
, and resered c-b
You may should install rainbarf
.
c-d
exit TMUX.
Need use the
prefix
to trigger the quick key.
session:
bind | function |
---|---|
c-c |
new session |
c-d |
kill session |
c-f |
find and switch session |
pane:
bind | function |
---|---|
= |
split current window horizontally |
- |
split current window vertically |
x |
close current page |
h |
move to left pane |
j |
move to down pane |
k |
move to up pane |
l |
move to right pane |
> |
swap current pane with the next one |
< |
swap create pane with the previous one |
H J K L |
resize current pane 2 units |
window:
bind | function |
---|---|
c |
new window |
0 -9 |
select window |
w |
show window list |
n |
move to next window |
p |
move to previous window |
& |
close current window |
, |
rename current widow |
other:
bind | function |
---|---|
s |
toggle status bar |
! |
split widow and open htop |
@ |
split widow and open range |
change statue bar:
If you want to change the botton bar state, you can check the ./tmux-powerline/themes/default.sh
and modify it.