-
Notifications
You must be signed in to change notification settings - Fork 0
/
MacConfiguration.txt
53 lines (43 loc) · 2.43 KB
/
MacConfiguration.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
46
47
48
49
50
51
1. Add Hot Corner
System Preference -> Mission Control -> Hot Corners -> { <Left Down, Desktop>, <Right Up, Application Windows>, <Right Down, Mission Control> }
2. Add ‘Zoom’ Hot Key (Command + Control + M)
System Preference -> Keyboard -> Shortcuts -> App Shortcuts -> “+” -> { <Menu Title, Zoom>, <Keyboard Shortcut, Command+Control+M> }
3. Add ‘Change Input Source’ Hot Key (Control + Space)
System Preference -> Keyboard -> Shortcuts -> Input Sources -> <Select next source in Input menu, Control+Space>
4. Some other useful hot keys
<Minimize Window, Command+M>
<New Terminal Tab, Command+T>
<Hide Current Window, Command+H>
<Hide All the Window except Current Window, Command+Option+H>
<Close Window, Command+W>
<Switch Application, Command+Tab>
<Switch Window in Same Application, Command+`>
<Switch Tab, Command+Shift+[/]>
5. Download iTerm2
(1) iterm2.com -> Download
(2) https://github.com/mbadolato/iTerm2-Color-Schemes -> Download Color Schemes -> See “README.md” for instruction (The Style ‘Elemental’ and 'Ciapre' is recommended) [A copy of project iTerm2-Color-Schemes is stored in folder MacResources)
(3) Find a new icon (.icns file) for iTerm2 -> Open the icns file -> Command+A -> Command+C -> Right Click iTerm2 -> Get Info -> Click Icon at Upper left of window -> Command+V (A recommended .icns file is stored in MacResources)
(4) Open iTerm2 -> iTerm -> Preferences -> Profiles -> Window -> <Transparency, 15%>
(5) Open iTerm2 -> iTerm -> Preferences -> Keys -> <Show/hide iTerm2 with a system-wide hotkey, Control+Command+H>
6. other useful Hot Keys for iTerm2
<Split Window Horizontally, Command+D>
<Split Window Vertically, Command+Shift+D>
<Split Window Vertically with Other Profile, Command+Option+Shift+V>
<Navigate Split Panel, Command+Option+Arrow>
<Full Screen, Command+Enter>
7. vimrc
Copy MacResources/vimrc to ~/.vimrc
8. Install HomeBrew
brew.sh -> follow instruction
9. Install Latex environment
https://tug.org/mactex/ -> download mactex -> install -> edit /usr/local/textlive/{edtion}/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def -> replace following :
#begin
\setCJKmainfont[BoldFont=STHeiti,ItalicFont=STKaiti]{STSong}
\setCJKsansfont[BoldFont=STHeiti]{STXihei}
\setCJKmonofont{STFangsong}
\setCJKfamilyfont{zhsong}{STSong}
\setCJKfamilyfont{zhhei}{STHeiti}
\setCJKfamilyfont{zhkai}{STKaiti}
\setCJKfamilyfont{zhfs}{STFangsong}
#end
#hint: use xelatex command to compile chinese character document