Skip to content

Commit 32a25d6

Browse files
committed
docs(tmux): optimize content structure
1 parent 4230821 commit 32a25d6

1 file changed

Lines changed: 18 additions & 15 deletions

File tree

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Vimhack/dotfiles 🍀
22

33
Vimhack/dotfiles is a Fantastic Development Environment,
4-
built with [Vim][1]/[Neovim][2], [Tmux][3], [Zsh](4), [Alacritty][5]
4+
built with [Vim][1]/[Neovim][2], [Tmux][3], [Zsh][4], [Alacritty][5]
55
and many other related excellent open source softwares.
66

77
The supported platforms currently are macOS and Linux.
@@ -43,7 +43,7 @@ The supported platforms currently are macOS and Linux.
4343
- [Toggle Alacritty background transparent](#Toggle-Alacritty-background-transparent)
4444
- [Increase Alacritty background transparent](#Increase-Alacritty-background-transparent)
4545
- [Decrease Alacritty background transparent](#Decrease-Alacritty-background-transparent)
46-
- [Toggle Tmux status bar](#Toggle-Tmux-status-bar)
46+
- [Toggle Tmux status line](#Toggle-Tmux-status-line)
4747
- [Toggle Tmux pane-border-status(pane name)](#Toggle-Tmux-pane-border-statuspane-name)
4848
- [In Vim Normal Mode](#In-Vim-Normal-Mode)
4949
- [Toggle Vim/Neovim background color(light or dark)](#Toggle-VimNeovim-background-colorlight-or-dark)
@@ -68,12 +68,13 @@ The supported platforms currently are macOS and Linux.
6868
- [aliases](#aliases)
6969
- [Tmux](#Tmux)
7070
- [Prefix Key](#Prefix-key)
71-
- [Common](#Common)
72-
- [Session](#Session)
73-
- [Window](#Window)
74-
- [Pane](#Pane)
75-
- [Copy Mode](#Copy-Mode)
76-
- [Sync Mode](#Sync-Mode)
71+
- [Key Bindings](#Key-bindings)
72+
- [Common](#Common)
73+
- [Session](#Session)
74+
- [Window](#Window)
75+
- [Pane](#Pane)
76+
- [Copy Mode](#Copy-Mode)
77+
- [Sync Mode](#Sync-Mode)
7778
- [Tmux Plugins](#Tmux-Plugins)
7879
- [tmux-plugins/tpm](#tmux-pluginstpm)
7980
- [tmux-plugins/tmux-prefix-highlight](#tmux-pluginstmux-prefix-highlight)
@@ -483,7 +484,7 @@ ctrl a ctrl k
483484
ctrl a ctrl j
484485
```
485486

486-
#### <a name="Toggle-Tmux-status-bar"></a>Toggle Tmux status bar [](#With-Keyboard-Shortcutshotkey)
487+
#### <a name="Toggle-Tmux-status-line"></a>Toggle Tmux status line [](#With-Keyboard-Shortcutshotkey)
487488

488489
```text
489490
ctrl a b
@@ -792,23 +793,25 @@ All the following shortcuts keys must first press the prefix key.
792793
> Note that after pressing the prefix key, you need to release the prefix key first,
793794
> and then press other specific shortcut keys.
794795
795-
### <a name="Common"></a>Common [](#Tmux)
796+
### <a name="Key-bindings"></a>Key Bindings [](#Tmux)
797+
798+
#### <a name="Common"></a>Common [](#Key-Bindings)
796799

797800
- `?` : List key bindings
798801
- `r` : Reload `~/.tmux.conf`
799802
- `e` : Edit `~/.tmux.conf`
800803
- `K` : View help documents of the object in `~/.tmux.conf`
801804
- `d` : Detach the current client
802805

803-
### <a name="Session"></a>Session [](#Tmux)
806+
#### <a name="Session"></a>Session [](#Key-Bindings)
804807

805808
- `s` : Choose a session from a list
806809
- `Option/Alt` `f` : Search session
807810
- `Ctrl` `c` : Create new session
808811
- `$` : Rename the current session
809812
- `b` : Toggle status line of the current session
810813

811-
### <a name="Window"></a>Window [](#Tmux)
814+
#### <a name="Window"></a>Window [](#Key-Bindings)
812815

813816
- `c` : Create new window
814817
- `,` : Rename current window
@@ -821,7 +824,7 @@ All the following shortcuts keys must first press the prefix key.
821824
- `f` : Search window
822825
- `i` : Display window information
823826

824-
### <a name="Pane"></a>Pane [](#Tmux)
827+
#### <a name="Pane"></a>Pane [](#Key-Bindings)
825828

826829
- `%` : Split window horizontally
827830
- `"` : Split window vertically
@@ -851,7 +854,7 @@ All the following shortcuts keys must first press the prefix key.
851854
- `Ctrl` `l` : Clear all the messages(include history messages) in the active pane
852855
- `Ctrl` `b` : Toggle pane name of the current window's all panes
853856

854-
### <a name="Copy-Mode"></a>Copy Mode [](#Tmux)
857+
#### <a name="Copy-Mode"></a>Copy Mode [](#Key-Bindings)
855858

856859
- `[` : Enter copy mode
857860
- `]` : Paste the most recent paste buffer
@@ -870,7 +873,7 @@ All the following shortcuts keys must first press the prefix key.
870873

871874
Enabled `vi-mode`, many vi shortcuts can be used in this scenario.
872875

873-
### <a name="Sync-mode"></a>Sync Mode [](#Tmux)
876+
#### <a name="Sync-mode"></a>Sync Mode [](#Key-Bindings)
874877

875878
- `Ctrl` `y` : Toggle sync mode
876879

0 commit comments

Comments
 (0)