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

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 閱讀(264) 評論(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>
            欧美巨乳在线观看| 麻豆国产精品va在线观看不卡| 欧美乱人伦中文字幕在线| 亚洲精品乱码| 亚洲少妇在线| 国产网站欧美日韩免费精品在线观看 | …久久精品99久久香蕉国产| 久久久久一区| 欧美夫妇交换俱乐部在线观看| 亚洲日本电影| 亚洲制服av| 在线观看亚洲a| 99av国产精品欲麻豆| 国产精品一区视频| 欧美高清视频免费观看| 欧美日韩亚洲激情| 久久午夜视频| 欧美人成免费网站| 久久精品一本| 欧美日韩在线一二三| 久久久久亚洲综合| 欧美色大人视频| 免费在线观看日韩欧美| 国产精品啊啊啊| 久久久久久久综合色一本| 欧美承认网站| 久久久人成影片一区二区三区| 欧美激情免费在线| 久久深夜福利免费观看| 欧美日韩亚洲国产精品| 麻豆国产精品va在线观看不卡| 欧美日韩精品免费观看| 女人香蕉久久**毛片精品| 国产精品久久久久久影院8一贰佰| 久久久亚洲一区| 国产精品v欧美精品v日韩| 免费国产自线拍一欧美视频| 国产精品久久久久aaaa樱花| 欧美暴力喷水在线| 国产亚洲福利| 亚洲一区二区成人在线观看| 亚洲剧情一区二区| 久久亚洲不卡| 久久综合亚州| 国自产拍偷拍福利精品免费一| 亚洲精品国精品久久99热| 激情综合色丁香一区二区| 亚洲一区精品在线| 亚洲欧美国产va在线影院| 欧美激情综合五月色丁香小说| 久久全球大尺度高清视频| 国产精品久久久久久久久久久久久 | 国产精品久久久一区麻豆最新章节 | 欧美国产日韩一区二区| 国产在线精品成人一区二区三区 | 欧美亚州韩日在线看免费版国语版| 欧美成人日本| 亚洲激情国产| 欧美成人激情视频| 亚洲国产三级在线| 亚洲精品中文字幕有码专区| 久久综合999| 欧美大色视频| 亚洲精品中文字| 欧美日韩国产首页在线观看| 91久久国产精品91久久性色| 亚洲人成在线观看网站高清| 久热国产精品| 亚洲人成小说网站色在线| 亚洲卡通欧美制服中文| 欧美激情一区二区三区全黄| 亚洲国产另类精品专区| 一区二区三区视频在线观看| 欧美日韩国产页| 亚洲一区二区三区免费在线观看| 新67194成人永久网站| 国产欧美一区二区精品婷婷| 欧美在线电影| 亚洲电影观看| 亚洲免费在线观看视频| 国产日韩精品入口| 久久亚洲精品一区二区| 亚洲人体一区| 午夜精品剧场| 亚洲大胆人体视频| 欧美日韩成人网| 性久久久久久久久| 亚洲国产第一页| 午夜视频久久久久久| 黄色av成人| 欧美日韩国产一区二区三区地区| 亚洲香蕉网站| 欧美电影资源| 亚洲欧美国产不卡| 亚洲精品1区2区| 国产精品推荐精品| 蘑菇福利视频一区播放| 亚洲在线成人精品| 亚洲福利视频专区| 欧美在线免费看| 日韩一区二区免费高清| 国产亚洲欧美另类中文| 欧美激情亚洲自拍| 久久国产福利国产秒拍| 99国产精品久久久久久久成人热| 欧美在线一区二区| 亚洲无限av看| 亚洲激情一区| 激情欧美一区二区三区| 欧美色视频日本高清在线观看| 久久精品亚洲一区二区| 亚洲午夜av在线| 亚洲啪啪91| 欧美国产丝袜视频| 久久成人免费电影| 亚洲一级高清| 99国产精品久久| 亚洲大胆人体视频| 韩曰欧美视频免费观看| 国产精品自拍小视频| 欧美日韩一区二区免费在线观看 | 亚洲欧美日韩国产成人精品影院| 亚洲激情国产| 亚洲第一精品久久忘忧草社区| 欧美在线日韩| 亚洲欧美日韩在线不卡| av成人免费在线| 亚洲日韩欧美视频一区| 有码中文亚洲精品| 精品69视频一区二区三区| 国产日韩欧美在线| 国产欧美日韩不卡免费| 国产精品一二三| 国产精品色午夜在线观看| 欧美三级精品| 国产精品久久久久久久久久久久久久 | 亚洲一区不卡| 亚洲自拍偷拍视频| 亚洲一区二区三区精品在线观看| 99精品视频免费观看视频| 亚洲免费成人av| 国产精品99久久久久久久久 | 欧美岛国激情| 亚洲激情一区二区三区| 亚洲国产毛片完整版| 欧美激情亚洲一区| 亚洲黄色成人网| 99精品国产在热久久| 在线视频日韩精品| 亚洲欧美日韩国产综合在线| 午夜精品福利视频| 久久精品国产亚洲一区二区| 久久精品视频导航| 欧美国产日韩在线| 欧美日韩精品免费观看视频| 国产精品九九久久久久久久| 国产欧美日韩一区二区三区在线| 国产区日韩欧美| 亚洲第一区在线| 一本色道久久加勒比精品| 中文日韩在线视频| 久久国产精品电影| 亚洲电影网站| 亚洲一区二区精品视频| 久久精品国产亚洲一区二区| 欧美ab在线视频| 国产精品久久久久影院色老大| 国产日韩亚洲欧美| 亚洲人体偷拍| 欧美在线视频观看免费网站| 免费久久99精品国产| 99re66热这里只有精品4| 亚洲综合色在线| 蜜桃精品一区二区三区| 国产精品久久久久高潮| 黄色亚洲免费| 亚洲一区二区三区高清| 久久久最新网址| 一区二区三区精品视频在线观看| 欧美在线亚洲| 欧美日韩在线看| 亚洲福利小视频| 欧美在线观看视频在线| 亚洲韩国日本中文字幕| 欧美一二区视频| 国产精品多人| 亚洲国产小视频在线观看| 午夜日韩在线| 亚洲精品网站在线播放gif| 久久福利毛片| 国产精品久久7| 亚洲最新视频在线播放| 免费在线成人| 久久激情网站| 国产欧美日韩不卡| 午夜精品一区二区在线观看| 亚洲国产一区在线| 久久色在线播放| 国产综合av| 久久国产欧美日韩精品|