因?yàn)楦咧袝r(shí)的學(xué)號是3號秒啦,現(xiàn)在還有不少高中的同學(xué)叫我的綽號3號
。不過話說回來鸥鹉,對3這個(gè)數(shù)字還是挺喜歡的蛮穿。近來看各種不同的書,有時(shí)候也學(xué)點(diǎn)東西毁渗,各式各樣的內(nèi)容太多践磅,就想嘗試著用3這個(gè)數(shù)字來做減法。
比如現(xiàn)在在看vim的用戶手冊灸异,vim超級強(qiáng)大府适,各種命令不知道多少,肯定是記不全肺樟,也沒有必要檐春;可是如果走馬觀花,什么命令也不記住么伯,真要用的時(shí)候每個(gè)命令都要查手冊疟暖,那個(gè)效率也就太低,所以想把每個(gè)主要的操作點(diǎn)的命令記著3個(gè)田柔,這樣也就差不多了俐巴。
The first steps in Vim
-
"i" "a" "o"
insert the text; -
"h" "j" "k" "l"
move the cursor; -
"u" "CTRL-R"
undo the editor command
For funny: as Vim can interactive with the shell command, we can get the output from the shell command as our document input.
Try to type :read !cal
:
一月 2015
日 一 二 三 四 五 六
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
Then,try to list my home directory by typing :read !ls -l .
total 80
-rw-r--r-- 1 gaochunlan staff 7393 1 7 22:28 1.html
-rw-r--r-- 1 gaochunlan staff 7405 1 7 22:52 2.html
-rw-r--r-- 1 gaochunlan staff 7446 1 7 23:00 3.html
drwx------ 4 gaochunlan staff 136 1 28 2014 Applications
drwx------+ 22 gaochunlan staff 748 1 7 13:59 Desktop
drwx------+ 15 gaochunlan staff 510 1 3 19:48 Documents
drwx------+ 30 gaochunlan staff 1020 1 7 23:22 Downloads
drwx------@ 64 gaochunlan staff 2176 10 24 13:25 Library
drwx------+ 8 gaochunlan staff 272 12 16 08:28 Movies
drwx------+ 5 gaochunlan staff 170 1 29 2014 Music
drwx------+ 6 gaochunlan staff 204 12 28 20:27 Pictures
drwxr-xr-x+ 4 gaochunlan staff 136 1 26 2013 Public
drwxr-xr-x 4 gaochunlan staff 136 10 18 13:15 VirtualBox VMs
-rw-r--r-- 1 gaochunlan staff 12 1 9 14:17 ZenofPython.py
-rw------- 1 gaochunlan staff 2993 3 29 2014 mbox
drwxr-xr-x 14 gaochunlan staff 476 1 7 22:03 microblog
-rwxr-xr-x 1 gaochunlan staff 2248 1 7 22:02 pagination.py
-rw-r--r-- 1 gaochunlan staff 2279 1 9 15:26 python.md
drwxr-xr-x 5 root staff 170 8 24 16:18 tmp
drwxr-xr-x@ 13 gaochunlan staff 442 10 9 10:07 快盤
drwxr-xr-x@ 8 gaochunlan staff 272 12 28 20:15 百度云同步盤
That's all.