Attachment '_ViQuickIn.mm'
Download 1 <map version="0.8.0 RC2">
2 <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
3 <node TEXT="Vi 快速学习">
4 <node ID="Freemind_Link_98732028" POSITION="right" TEXT="缓冲控制">
5 <node TEXT=":sp filename.txt 在新窗口中打开文件"/>
6 <node TEXT="^w^w (control-w 两次) 在窗口间切换"/>
7 </node>
8 <node POSITION="right" TEXT="插入模式">
9 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
10 <node TEXT="Escape 返回命令模式">
11 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
12 </node>
13 <node TEXT="i | a 进入插入编辑模式">
14 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
15 <node TEXT=" i 在光标处字符之前插入"/>
16 <node TEXT="I 文本插到当前行的行首">
17 <font NAME="新宋体" SIZE="14"/>
18 </node>
19 <node TEXT="a 在光标处字符之后插入"/>
20 <node TEXT="A 文本将追加到当前行末">
21 <font NAME="新宋体" SIZE="14"/>
22 </node>
23 <node TEXT="o 当前行下面生成一空行并插入">
24 <font NAME="新宋体" SIZE="14"/>
25 </node>
26 <node TEXT="O 当前行上面生成一空行">
27 <font NAME="新宋体" SIZE="14"/>
28 </node>
29 </node>
30 <node TEXT="c 进入更改编辑模式">
31 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
32 <node TEXT="cc 以一新行替换当前整行">
33 <font NAME="新宋体" SIZE="14"/>
34 </node>
35 <node TEXT="c0 替换当前位置到行首">
36 <font NAME="新宋体" SIZE="14"/>
37 </node>
38 <node TEXT="c$ 替换当前位置到行末">
39 <font NAME="新宋体" SIZE="14"/>
40 </node>
41 <node ID="Freemind_Link_1090303280" TEXT="联合 c 和移动命令">
42 <node TEXT="cW"/>
43 <node TEXT="ce"/>
44 <node TEXT="c)"/>
45 <node TEXT="c}"/>
46 </node>
47 </node>
48 </node>
49 <node POSITION="right" TEXT="可视模式">
50 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
51 <node TEXT="v 进入可视化模式"/>
52 <node TEXT="移动或是键盘操作指定区域">
53 <node TEXT="y 复制"/>
54 <node TEXT="d 剪切"/>
55 </node>
56 <node TEXT="回到命令模式后">
57 <node TEXT="P 粘贴到光标之后"/>
58 <node TEXT="p 粘贴到光标之前"/>
59 </node>
60 </node>
61 <node ID="Freemind_Link_132030287" POSITION="right" TEXT="设置">
62 <node TEXT="缩进">
63 <node TEXT="自动缩进已启用">
64 <node TEXT="control-d 向左缩进一级"/>
65 <node TEXT="control-t 向右缩进一级"/>
66 </node>
67 <node TEXT=":set autoindent 手动启用自动缩进"/>
68 <node TEXT=":set tabstop=4 很流行"/>
69 </node>
70 </node>
71 <node POSITION="left" TEXT="命令模式">
72 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
73 <node TEXT="移动">
74 <node TEXT="字符">
75 <node TEXT="h 左">
76 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
77 </node>
78 <node TEXT="j 下">
79 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
80 </node>
81 <node TEXT="k 右">
82 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
83 </node>
84 <node TEXT="l 上">
85 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
86 </node>
87 </node>
88 <node ID="Freemind_Link_507592445" TEXT="单词">
89 <node COLOR="#338800" TEXT="vi 按空格或标点符号分隔单词
vi 按空格或新行来分隔长单词"/>
90 <node TEXT="w 下一单词第一字符">
91 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
92 </node>
93 <node TEXT="W 下一长单词第一字符">
94 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
95 </node>
96 <node TEXT="e 下一单词最后字符">
97 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
98 </node>
99 <node TEXT="E 下一长单词最后字符">
100 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
101 </node>
102 <node TEXT="b 前一单词第一字符">
103 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
104 </node>
105 <node TEXT="B 前一长单词第一字符">
106 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
107 </node>
108 </node>
109 <node ID="Freemind_Link_1591766119" TEXT="行">
110 <node TEXT="0 到行首">
111 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
112 </node>
113 <node TEXT="$ 到行尾">
114 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
115 </node>
116 </node>
117 <node ID="Freemind_Link_132440953" TEXT="句">
118 <node TEXT="( 到句首">
119 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
120 </node>
121 <node TEXT=") 到句尾">
122 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
123 </node>
124 </node>
125 <node ID="Freemind_Link_1632099169" TEXT="段">
126 <node TEXT="{ 到段首">
127 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
128 </node>
129 <node TEXT="} 到段尾">
130 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
131 </node>
132 </node>
133 <node ID="Freemind_Link_996869348" TEXT="页">
134 <node TEXT="Ctrl+F | Page Up 到上页">
135 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
136 </node>
137 <node TEXT="Ctrl+B | Page Down 到下页">
138 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
139 </node>
140 </node>
141 </node>
142 <node ID="Freemind_Link_639413406" TEXT="高级">
143 <node TEXT="特定行">
144 <node TEXT="<行号>G 跳到指定行数"/>
145 </node>
146 <node ID="Freemind_Link_1856026717" TEXT="正则搜索">
147 <node TEXT="/regexp 到文本样式下一次出现的地点"/>
148 <node TEXT="注意字符转换">
149 <node TEXT="/foo\.gif 将会匹配“foo.gif”"/>
150 </node>
151 <node TEXT="n 向前重复搜索"/>
152 <node TEXT="N 向后重复搜索"/>
153 </node>
154 </node>
155 <node ID="Freemind_Link_294682706" TEXT="Q 进入 ex 模式">
156 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
157 <node TEXT="ex-mode">
158 <node TEXT="vi 回到命令模式">
159 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
160 </node>
161 <node TEXT="Escape 总是可以返回命令模式">
162 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
163 </node>
164 <node TEXT=":q 退出"/>
165 <node TEXT=":w 保存"/>
166 <node TEXT=":w filename.txt 另存为"/>
167 <node TEXT=":x | :wq 保存退出"/>
168 <node TEXT=":q! 不保存强制退出"/>
169 <node ID="Freemind_Link_1117784211" TEXT="文本替换">
170 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
171 <node TEXT=":s/regexp/replacement/ 替换当前行出现的第一个式样"/>
172 <node TEXT=":s/regexp/replacement/g 替换当前行所有匹配"/>
173 <node TEXT=":%s/regexp/replacement/g 文件中所有匹配样式(这通常是需要的)"/>
174 <node TEXT=":%s/regexp/replacement/gc (代表“confirm”) 每次替换要求确认"/>
175 </node>
176 </node>
177 </node>
178 <node ID="Freemind_Link_396019780" TEXT="编辑控制">
179 <node TEXT="x 删除当前光标所在的字符">
180 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
181 </node>
182 <node TEXT="J 将下一行接到当前行行末">
183 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
184 </node>
185 <node TEXT="r 替换原字符">
186 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
187 </node>
188 <node TEXT="dd 删除当前行">
189 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
190 </node>
191 <node ID="Freemind_Link_1050358013" TEXT="重复及删除">
192 <node TEXT=". 重复上一命令">
193 <font BOLD="true" NAME="SansSerif" SIZE="12"/>
194 </node>
195 <node TEXT="联合 d 和移动命令">
196 <node TEXT="dw 从当前位置删除到下一个单词词首"/>
197 <node TEXT="d) 删除到下一个句首"/>
198 <node TEXT="d} 删除本段剩余部分"/>
199 </node>
200 </node>
201 <node TEXT="恢复!">
202 <node TEXT="u 回复一次命令"/>
203 </node>
204 <node ID="Freemind_Link_1458359755" TEXT=" 复合命令">
205 <node TEXT="(数字)(移动命令)">
206 <node TEXT="3w 向后找3个单词"/>
207 <node TEXT="12b 向前12个单词"/>
208 <node TEXT="4j 向下4行"/>
209 </node>
210 <node TEXT="(编辑)(数字)(移动命令)">
211 <node TEXT="d3w 删除光标后 3 个单词"/>
212 <node TEXT="d2j 将删除当前行和下两行"/>
213 </node>
214 </node>
215 </node>
216 </node>
217 </node>
218 </map>
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.