-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux_note.txt
45 lines (35 loc) · 1.39 KB
/
tmux_note.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#Author : laudai
you can type
$bash color_test1.sh
$bash color_test2.sh
to active your terminal to show color and figure
Also you can type
$tput colors
to display you terminal support colors.
If u wanna to get the now config.
U can type
$tmux show -g >> current.tmux.conf
#U need at least a tmux
if u fire up a tmux , u can use like this
$tmux new-session -s servers -d "ssh login@server"
but if u in this tmux session and exit , it will shutdown this session.
bcz it si fire up from your program and this is the side effect.
u can add OpenTerminalWithTmux.sh in your .bashrc , then
u will launching tmux by default.
u can download battery script by type
$wget --no-check-certificate \
https://raw.github.com/richo/battery/master/bin/battery
In tmux2.5 version
I use the tmux-battery plugins
battery_remain function may not work in charging, maybe is to repport.
Follow setting is default values.
But I change to other keybind.
-------------------------------------------------------------
Default M-1~5
bind-key -T prefix M-1 select-layout even-horizontal
bind-key -T prefix M-2 select-layout even-vertical
bind-key -T prefix M-3 select-layout main-horizontal
bind-key -T prefix M-4 select-layout main-vertical
bind-key -T prefix M-5 select-layout tiled
Default o
bind-key -T prefix o select-pane -t :.+