青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

coreBugZJ

此 blog 已棄。

Vim學習筆記 (轉)


1. Type 0 (zero) to move to the start of the line.
Type 2w to move the cursor two words forward.
Type 3e to move the cursor to the end of the third word forward.

2. Type x to delete the first unwanted character.
Type rx to replace the character at the cursor with x

3. To change until the end of a word, type ce (ce + 修正的單詞)

4. C就類似于d。de,dw,d$都對應著ce,cw,c$

5. Type CTRL-G to show your location in the file and the file status.
Type G to move to a line in the file.

6. Press G to move you to the bottom of the file.
Type gg to move you to the start of the file.

7. Type / followed by a phrase to search for the phrase.

8. To search for the same phrase again, simply type n .
To search for the same phrase in the opposite direction, type N

9. To search for a phrase in the backward direction, use ? instead of /

10. To go back to where you came from press CTRL-O

11. 匹配使用%,放置在一個括號下面,然后輸入%,就會跳轉到另外一個上面。

12. type :#,#s/old/new/g where #,# are the line numbers of the range
of lines where the substitution is to be done. (兩行之間的所有文本)
Type :%s/old/new/g to change every occurrence in the whole file.(不提示,但是是整個文件)
Type :%s/old/new/gc to find every occurrence in the whole file,
with a prompt whether to substitute or not.(提示是否代替)

13.g表示取代該行所有的。
比如:s/thee/the/g表示取代該行中所有的thee為the。

14. CTRL-G displays your location in the file and the file status.
G moves to the end of the file.
number G moves to that line number.
gg moves to the first line.

15. :! 運行執行外部程序。(冒號是必須的,命令模式都必須的,比如:w表示保存) (外部命令如ls,pwd需要使用!,而內部命令則是直接:w等等,不需要使用!)

16. 輸入v進入視覺模式,此時鼠標向下會選中部分文字,然后可以對選中的文字操作。
比如:w TEST則會把選中的保存位文本。
:d則會刪除選中的文本。

17. 插入一個文件的部分內容,使用:r FILENAME即可插入一個文件到該行。

18. 在下方新建一個空行,使用o,
在上方新建一個空行,使用O。(命令模式下) (輸入命令后會進入插入模式)

NOTE: a, i and A all go to the same Insert mode, the only difference is where
the characters are inserted.(a是在光標后,A是在行末尾,i則是光標處)

19. e跳轉一個單詞。e.g: 2e表示跳轉兩個單詞,比向右鍵更快捷。
G跳轉行。e.g: 721G表示跳轉到第721行

20. 替換:
R:替換位多個字母
r:替換位單個字母

21. Move the cursor to the end of the next line: j$

22. Use the y operator to copy text and p to paste it

NOTE: you can also use y as an operator; yw yanks one word.

23. Set the 'ic' (Ignore case) option by entering: :set ic(包含大小寫匹配的都顯示出來,比如Ignore,IGNORE)
Set the 'hlsearch' and 'incsearch' options: :set hls is(高亮顯示)

(set option)
24. Typing ":set xxx" sets the option "xxx". Some options are:
'ic' 'ignorecase' ignore upper/lower case when searching
'is' 'incsearch' show partial matches for a search phrase
'hls' 'hlsearch' highlight all matching phrases
You can either use the long or the short option name.

25. Prepend "no" to switch an option off: :set noic

26. 在命令模式下,輸入e然后按TAB鍵,會自動出現很多相關的命令(以e開頭的命令)。(第一個相關的)
按Ctrl + D能夠出現所有以他開頭的命令。

posted on 2011-10-09 14:09 coreBugZJ 閱讀(272) 評論(0)  編輯 收藏 引用 所屬分類: LinuxEditor

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美黑人在线观看| 亚洲三级电影全部在线观看高清 | 亚洲图片激情小说| 亚洲免费观看在线观看| av成人激情| 亚洲欧美中文另类| 欧美综合国产| 亚洲福利精品| av不卡在线| 亚洲欧美日韩另类| 久久人人爽人人爽爽久久| 欧美成人嫩草网站| 欧美亚韩一区| 精品成人在线视频| 99精品99久久久久久宅男| 亚洲女人av| 久久一区二区三区国产精品| 欧美韩日精品| 午夜精品国产| 欧美极品色图| 国产一级揄自揄精品视频| 亚洲欧洲午夜| 久久精品亚洲精品国产欧美kt∨| 欧美国产日韩视频| 亚洲欧美日韩一区在线| 欧美二区在线| 国产手机视频精品| 亚洲午夜精品福利| 嫩模写真一区二区三区三州| 一本色道久久综合| 美脚丝袜一区二区三区在线观看| 国产精品自拍在线| 一区二区三区视频在线 | 99re8这里有精品热视频免费 | 亚洲激情自拍| 欧美影院久久久| 欧美日韩在线观看一区二区三区| 国产一区二区三区的电影| 中国成人在线视频| 欧美国产一区在线| 久久久国产精品亚洲一区| 国产精品毛片高清在线完整版| 亚洲国产视频一区| 久久全球大尺度高清视频| 亚洲一区二区伦理| 欧美网站在线观看| 亚洲视频免费在线观看| 亚洲国产精品欧美一二99| 亚洲一区二区在线视频| 欧美亚州在线观看| 亚洲精品在线看| 欧美bbbxxxxx| 久久久噜噜噜久久狠狠50岁| 国产性做久久久久久| 翔田千里一区二区| 亚洲一区二区三区精品在线观看 | 国产精品大片| 宅男噜噜噜66国产日韩在线观看| 欧美成人日本| 老色鬼精品视频在线观看播放| 国产一区二区三区四区五区美女| 亚洲欧美日韩一区二区三区在线 | 欧美国产在线电影| 美女网站在线免费欧美精品| 一区二区在线视频观看| 久久免费国产| 久久男女视频| 亚洲国产日韩欧美在线图片| 欧美激情女人20p| 欧美精品色一区二区三区| 99国产精品久久久久久久| 日韩视频不卡中文| 欧美性猛片xxxx免费看久爱| 亚洲欧美成人一区二区在线电影| 国产精品99久久久久久宅男| 国产日韩欧美在线播放不卡| 久久精品在这里| 亚洲欧洲99久久| 国产毛片一区二区| 欧美亚洲一区二区在线观看| 日韩手机在线导航| 欧美精品免费视频| 亚洲精品美女在线观看| 亚洲福利视频网站| 欧美不卡视频一区| 亚洲精品护士| 亚洲高清资源综合久久精品| 免费的成人av| 亚洲精选在线| 亚洲精品护士| 欧美另类亚洲| 这里只有精品在线播放| 99成人精品| 国产精品乱人伦一区二区| 亚洲自拍电影| 亚洲欧美一区在线| 国产在线成人| 免费成人黄色| 欧美精品日本| 亚洲欧美在线播放| 欧美在线一二三| 亚洲国产二区| 亚洲精品男同| 久久精品在线观看| 亚洲欧美日韩第一区| 亚洲免费在线| 亚洲一区二区三区高清| 国产综合在线看| 日韩一区二区免费高清| 在线观看国产成人av片| 亚洲系列中文字幕| 亚洲精品乱码| 久久久久在线| 欧美诱惑福利视频| 最新国产成人av网站网址麻豆| 久久精品国产69国产精品亚洲| 亚洲人线精品午夜| 欧美一区二区精美| 午夜精品一区二区在线观看| 欧美刺激午夜性久久久久久久| 久久精品国产清自在天天线| 国产精品hd| 亚洲美女区一区| 亚洲三级国产| 欧美18av| 亚洲第一主播视频| 亚洲国产cao| 久久婷婷av| 麻豆成人在线播放| 国产伊人精品| 欧美一区二区三区免费观看| 亚洲欧美日韩人成在线播放| 欧美日韩一区二区国产| 亚洲第一色在线| 亚洲黄色影片| 欧美国产精品日韩| 欧美激情一区二区三区全黄| 黄色亚洲在线| 久久久五月婷婷| 欧美成va人片在线观看| 亚洲国产精品传媒在线观看| 狂野欧美激情性xxxx欧美| 久久综合伊人| 亚洲国产精品va在线看黑人动漫| 久久久久久亚洲精品杨幂换脸| 久久人91精品久久久久久不卡| 伊人久久综合| 欧美福利视频在线| 亚洲精品极品| 亚洲一区二区精品| 国产精品视频免费在线观看| 亚洲免费视频网站| 久久在线免费观看| 亚洲片在线资源| 欧美日韩在线免费视频| 亚洲天天影视| 久久影视精品| 一本色道久久综合亚洲精品不| 欧美天堂亚洲电影院在线播放| 亚洲一区二区三区色| 久久精品夜夜夜夜久久| 亚洲黄色在线看| 国产精品日韩欧美| 久久一二三四| 在线综合亚洲| 欧美成人精品三级在线观看 | 久久精品免费看| 中日韩午夜理伦电影免费| 亚洲免费福利视频| 国产精品人成在线观看免费 | 欧美视频日韩视频在线观看| 午夜精品久久久久久久99樱桃| 老司机精品导航| 亚洲天堂久久| 亚洲成色www8888| 国产精品av一区二区| 久久不射网站| 99亚洲精品| 欧美成人日韩| 欧美一区久久| 99国产精品自拍| 激情综合亚洲| 国产精品你懂的| 欧美精品在线观看播放| 欧美伊人久久大香线蕉综合69| 亚洲人人精品| 免费观看成人www动漫视频| 亚洲自拍三区| 日韩视频亚洲视频| 1000部精品久久久久久久久| 国产精品一区二区三区久久久 | 欧美激情一区三区| 欧美自拍偷拍午夜视频| 亚洲日本成人女熟在线观看| 久久久综合网站| 在线中文字幕不卡| 亚洲日本成人网| 亚洲电影有码| 激情五月综合色婷婷一区二区| 国产精品久久一区二区三区|