iterm2技巧

cmd+;: 自动补全
cmd+shit+H: 记录
cmd+alt+B: 回放

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
The next time you log in, shell integration will be enabled.

You will also have these commands:
imgcat filename
Displays the image inline.
imgls
Shows a directory listing with image thumbnails
it2attention start|stop|fireworks
Gets your attention
it2check
Checks if the terminal is iTerm2
it2copy [filename]
Copies to the pasteboard
it2dl filename
Downloads the specified file, saving it in your Downloads folder.
it2setcolor ...
Changes individual color settings or loads a color preset
it2setkeylabel ...
Changes Touch Bar function key labels
it2ul
Uploads a file
it2universion
Sets the current unicode version

配置

1
export iterm2_hostname=<hostname>
请作者喝一杯咖啡☕️