File tree Expand file tree Collapse file tree 2 files changed +66
-1
lines changed Expand file tree Collapse file tree 2 files changed +66
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Every .sh file can independent work.
1818If you want to setup all the setting, run:
1919
2020``` shell
21- chomd +x ./all_setup.sh
21+ chmod +x ./all_setup.sh
2222./all_setup.sh
2323```
2424
Original file line number Diff line number Diff line change 1+ # ## rebind hotkey
2+
3+ # prefix setting (screen-like)
4+ set -g prefix C-a
5+ unbind C-b
6+ bind C-a send-prefix
7+
8+ # reload config without killing server
9+ bind R source-file ~ /.tmux.conf \; display-message " Config reloaded..."
10+
11+ # "|" splits the current window vertically, and "-" splits it horizontally
12+ unbind %
13+ bind | split-window -h
14+ bind - split-window -v
15+
16+ # Pane navigation (vim-like)
17+ bind h select-pane -L
18+ bind j select-pane -D
19+ bind k select-pane -U
20+ bind l select-pane -R
21+
22+ # Pane resizing
23+ bind -r Left resize-pane -L 1
24+ bind -r Down resize-pane -D 1
25+ bind -r Up resize-pane -U 1
26+ bind -r Right resize-pane -R 1
27+
28+
29+ # ## other optimization
30+
31+ # set the shell you like (zsh, "which zsh" to find the path)
32+ # set -g default-command /bin/zsh
33+ # set -g default-shell /bin/zsh
34+
35+ # use UTF8
36+ # set -g utf8
37+ # set-window-option -g utf8 on
38+
39+ # display things in 256 colors
40+ set -g default-terminal " screen-256color"
41+
42+ # mouse is great!
43+ set-option -g mouse on
44+
45+ # history size
46+ set -g history-limit 10000
47+
48+ # fix delay
49+ set -g escape-time 0
50+
51+ # 0 is too far
52+ set -g base-index 1
53+ setw -g pane-base-index 1
54+
55+ # stop auto renaming
56+ setw -g automatic-rename off
57+ set-option -g allow-rename off
58+
59+ # renumber windows sequentially after closing
60+ set -g renumber-windows on
61+
62+ # window notifications; display activity on other window
63+ setw -g monitor-activity on
64+ set -g visual-activity on
65+
You can’t perform that action at this time.
0 commit comments