锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品美女久久久久99,久久久久亚洲AV片无码下载蜜桃,精品乱码久久久久久夜夜嗨http://www.shnenglu.com/deercoder/category/17866.html<P><FONT style="FONT-SIZE: 20px" color=#ff0000>縐瘡錛屽潥鎸侊紒</FONT></P> <P><FONT style="FONT-SIZE: 20px" color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---------鎴戞槸涓鍙狪T灝忓皬楦?lt;/FONT></P>zh-cnSun, 30 Oct 2011 22:00:10 GMTSun, 30 Oct 2011 22:00:10 GMT60Vim瀛︿範絎旇(浜?http://www.shnenglu.com/deercoder/archive/2011/10/30/159367.html鍒樼晠鍒樼晠Sun, 30 Oct 2011 12:27:00 GMThttp://www.shnenglu.com/deercoder/archive/2011/10/30/159367.htmlhttp://www.shnenglu.com/deercoder/comments/159367.htmlhttp://www.shnenglu.com/deercoder/archive/2011/10/30/159367.html#Feedback0http://www.shnenglu.com/deercoder/comments/commentRss/159367.htmlhttp://www.shnenglu.com/deercoder/services/trackbacks/159367.html
鍦ㄥ墠闈竴綃嘼log錛?a id="viewpost1_TitleUrl" href="../archive/2011/10/05/157573.html">Vim瀛︿範絎旇錛変腑浠嬬粛VIM鐨勪嬌鐢ㄧ敤娉曞悗錛岃鏂囩珷杈懼埌浜嗗巻鍙叉х殑鏈楂樿闂噺銆傚湪涓婇潰鐨勯偅綃囨枃绔犱腑錛屼粙緇嶄簡VIM鐨勫熀鏈敤娉曪紝鍩烘湰涓婃槸涓漢鍦ㄨ仈緋籚imtutor榪欎釜鏁欑▼涔嬪悗瀵逛笉鐔熸倝鐨勬寚浠ょ殑鎬葷粨銆備絾鏄紝闅忕潃瀛︿範鐨勬繁鍏ワ紝鍙戠幇鎺屾彙榪欎簺鍩烘湰鐨勫懡浠よ繕榪滆繙涓嶅錛岃櫧鐒剁綉涓婃湁澶ф壒鐨勮祫鏂欏彲浠ヤ笅杞藉涔狅紝浣嗘槸榪簬娌℃湁涓縐嶇被浼間簬鍏ラ棬綰у埆鐨勬暀紼嬶紝鎵浠ヨ繕鏄笇鏈涙湁鐩稿叧鐨勪粠鏈甯哥敤鏈鍩烘湰鐨勭煡璇嗚璧風殑鏁欑▼銆傜洰鍓嶇湅鏉ワ紝銆?a target="_blank">Learn Vim Progressively銆嬭繖綃囨枃绔犲簲璇ユ槸姣旇緝濂界殑鍏ラ棬綰ф暀鏉愪簡鍚э紝鑰岄叿澹沖垯榪涜浜嗙炕璇戯紝緗戝潃鍦ㄨ繖閲?a title="綆鏄?Vim 緇冪駭鏀葷暐">綆鏄?Vim 緇冪駭鏀葷暐錛坔ttp://coolshell.cn/articles/5426.html錛夈備互涓嬫槸鎴戠殑瀛︿範絎旇錛?br />
1. 鎻掑叆錛?br />a: 鍦ㄥ厜鏍囦箣鍚庢彃鍏?br />o: 鍦ㄥ綋鍓嶈鍚庨潰鎻掑叆涓涓柊琛?br />O: 鍦ㄥ綋鍓嶈鍓嶉潰鎻掑叆涓涓柊琛?br />cw: 鏇挎崲浠庡厜鏍囧埌鍚庝竴涓崟璇嶇粨灝劇殑瀛楃銆?br />
2. 縐誨姩錛?br />
0: 縐誨姩鍒拌澶?br />^: 鍒版湰琛岀涓涓笉鏄痓lank鐨勫瓧絎︺傦紙blank瀛楃鍗崇┖鏍鹼紝tab錛屾崲琛屽拰鍥炶濺錛?br />$: 鍒版湰琛岃灝?br />g_: 鍒版湰琛屾渶鍚庝竴涓笉鏄痓lank瀛楃鐨勪綅緗?br />/pattern: 鎼滅儲pattern鐨勫瓧絎︿覆銆傦紙鎼滅儲澶氫釜鎸塶鍥炲埌涓嬩竴涓級

3. 鎷瘋礉錛?br />
P錛氬湪褰撳墠浣嶇疆涔嬪墠鎷瘋礉錛堝皢緙撳啿鍖哄唴鐨勫唴瀹規嫹璐濊繃鏉ワ級
p: 鍦ㄥ綋鍓嶄綅緗箣鍚庢嫹璐?br />yy: 鎷瘋礉褰撳墠琛屻?鍦ㄦ煇琛屼嬌鐢ㄤ箣鍚庯紝鐩稿綋浜庢嫹璐濅簡璇ヨ錛岀劧鍚庡埌鎸囧畾浣嶇疆錛屼嬌鐢≒鍛戒護綺樿創鍒版寚瀹氱殑浣嶇疆)


4.Undo/Redo

u : undo
Ctrl + r : redo

5. 鎵撳紑淇濆瓨
e<path/file> : 鎵撳紑涓涓枃浠?br />w: 淇濆瓨
saveas<path/file>: 鍙﹀瓨涓烘煇涓湴鏂?br />x,wq: 淇濆瓨錛坸琛ㄧず浠呴渶瑕佷繚瀛樻椂淇濆瓨錛寃q鍒欐槸淇濆瓨錛?br />ZZ錛氫笉闇瑕佽緭鍏ュ墠闈㈢殑鍐掑彿鍗沖彲淇濆瓨錛屾鏃朵細閫鍑恒傦紙涓嶅悓浜庡墠闈㈢殑鍐掑彿+鍥炶濺錛?br />bn, bp: 鍚屾椂鎵撳紑澶氫釜鏂囦歡鐨勮瘽錛屼嬌鐢ㄨ繖涓潵鍒囨崲鍒頒笂涓涓垨鑰呬笅涓涓枃浠躲?br />
6. 鏇村ソ
.: 杈撳叆涓涓偣鍙蜂細閲嶅鎵ц涓婃鐨勫懡浠?br />N<command>: 閲嶅鎵цcommand鍛戒護N嬈°?姣斿2dd琛ㄧず鍒犻櫎涓よ錛?p琛ㄧず綺樿創涓夋)

7. 鏇村己
NG: 鍒扮N琛岋紙姣斿3G錛岃〃紺鴻煩杞埌絎笁琛岋級鍙﹀鍙互浣跨敤:137璺寵漿鍒?37琛岋紙鎰熻鏇存柟渚匡級
gg: 璺寵漿鍒扮涓琛?鐩稿綋浜?G錛屾垨鑰?1)
G: 璺寵漿鍒版渶鍚庝竴琛?br />鍗曡瘝鐨勭Щ鍔細
w錛?鍒頒笅涓涓崟璇嶇殑寮濮?br />e錛?鍒頒笅涓涓崟璇嶇殑緇撳熬
錛堝鏋滆涓哄垎鍙蜂篃鏄竴涓崟璇嶇殑璇濓紝浣跨敤E/W錛?br />姣斿錛歺 = (name_1, vision_3); 鍚庨潰鐨勮繖涓垎鍙峰氨瑕佹敞鎰忋?br />
%: 鍖歸厤鎷彿錛屽厛縐誨姩鍏夋爣鍒頒竴涓嫭鍙峰錛岀劧鍚庡湪鍛戒護妯″紡涓嬭緭鍏?錛屽嵆鍙煩杞埌鍖歸厤鐨勬嫭鍙楓?br />*錛氬尮閰嶅厜鏍囧埌褰撳墠鎵鍦ㄧ殑鍗曡瘝銆傦紙鍚戜笅鍖歸厤錛?鍖歸厤灝辨槸鐭ラ亾鐩稿悓鐨勫崟璇嶏紝姣斿鍦ㄥ綋鍓嶈鏈?涓崟璇峵est錛岄偅涔堟寜*灝變細瀵繪壘騫惰煩杞埌涓嬩竴涓崟璇峵est鐨勮搗濮嬩箣澶?
#錛氬尮閰嶅厜鏍囧埌褰撳墠鎵鍦ㄥ崟璇嶏紙鍚戜笂鍖歸厤錛?br />

8. 鏇村揩
涓瀹氳璁頒綇鍏夋爣鐨勭Щ鍔ㄣ?br />eg錛?y$錛氱幇璺寵漿鍒扮涓琛岋紝鐒跺悗鎷瘋礉錛屾嫹璐濆埌琛屾湯錛?br />綾諱技鐨勶紝ye錛氬紑濮嬫嫹璐濓紝鎷瘋礉鍒扮铔嬫鐨勬渶鍚庝竴涓紙e鍏跺疄灝辨槸end錛?br />y2/foo錛氭嫹璐濅袱涓猣oo鐩存帴鐨勫瓧絎︿覆錛堣繖縐嶇敤娉曞緢濂囩壒錛屽墠闈㈡病鏈夎鍒幫級

榪樻湁寰堝鏃墮棿騫朵笉涓瀹氫綘灝變竴瀹氳鎸墆鎵嶄細鎷瘋礉錛屼笅闈㈢殑鍛戒護涔熶細琚嫹璐濓細
d (鍒犻櫎 )
v (鍙鍖栫殑閫夋嫨)
gU (鍙樺ぇ鍐?
gu (鍙樺皬鍐?
絳夌瓑

9.Vim瓚呰兘鍔?br />fa: 鍒頒笅涓涓負a鐨勫瓧絎﹀銆傚悓鐞嗭紝fs鍒頒笅涓涓負s鐨勫瓧絎﹀
t,錛氬埌閫楀彿鍓嶇殑絎竴涓瓧絎﹀銆傚悓鐞嗭紝ta灝辨槸鍒癮鍓嶇殑絎竴涓瓧絎﹀嚭銆?br />3fa錛氬湪褰撳墠琛屾煡鎵劇涓変釜鍑虹幇鐨刟
F鍜孴錛氫綔鐢ㄥ拰f涓巘涓鏍鳳紝鍙槸鐩稿弽鐨勬柟鍚戙?br />dt": 鍒犻櫎鎵鏈夌殑鍐呭錛岀煡閬撻亣鍒頒簡鍙屽紩鍙鳳紝綾諱技鐨勫彲浠ユ崲鎴愬叾浠栫殑濡俤t+浠繪剰瀛楃銆?br />
==========================浠ヤ笅鍐呭涓轟互鍓嶆病鎺ヨЕ鐨勶紝閲嶇偣鍥為【===================
1. 鍖哄煙閫夋嫨
<action>a<object> or <action>i<object>
<action> 鍙互鏄換浣曞懡浠わ紝濡俤錛堝垹闄わ級,y(鎷瘋礉)錛寁(鍙鍖栨ā寮忛夋嫨).
<object>鍙互鏄細w琛ㄧず涓涓崟璇嶏紝s琛ㄧず涓涓彞瀛愶紝p涓涓钀姐備篃鍙互鏄壒孌婂瓧絎︽瘮濡傦級,}絳夌瓑銆?br />
瀵逛簬(map (+)("foo")),鍏夋爣鍦ㄧ涓涓猳鐨勪綅緗?br />鍒欙細vi" ----瀵瑰簲鐨勬槸<action>i<object>榪欑鎯呭喌錛寁琛ㄧず妯″紡閫夋嫨錛岀劧鍚巌琛ㄧず鐨勬槸涓嶅寘鎷繖涓壒孌婂瓧絎︼紝鎵浠ユ槸浠庣涓涓猳鎵鍦ㄧ殑鍖呭惈鍦?絎﹀彿涓殑銆?br />鍏朵粬鐨勭被浼鹼紝涓嶅悓鐨勬槸a鏄鍖呮嫭鍐呭鐨勩?br />        vi" → 浼氶夋嫨 foo.
        va" → 浼氶夋嫨 "foo".
        vi) → 浼氶夋嫨 "foo".
        va) → 浼氶夋嫨("foo").
        v2i) → 浼氶夋嫨 map (+) ("foo")
        v2a) → 浼氶夋嫨 (map (+) ("foo"))


鍧楁搷浣?br />鍧楁搷浣滐紝鍏稿瀷鐨勬搷浣滐細 0 <C-v> <C-d> I-- [ESC]
Windows涓嬮潰鏄疌trl+q鑰屼笉鏄疌trl+v寮濮嬪潡鎿嶄綔銆?br />鍋氭硶鏄細
1. 鍏堢Щ鍔ㄥ厜鏍囧埌鏌愪釜鍦版柟銆?br />2. Ctrl+V寮濮嬪潡鎿嶄綔銆?br />3. 閫夋嫨鍧楃殑鑼冨洿錛堟鏃跺彲浠ョ敤hjkl錛屾垨鑰?錛屾垨鑰匔trl+d絳夌瓑錛?br />4. I-- Esc錛堥夋嫨瀵瑰簲鐨勬搷浣滐紝榪欓噷鏄彃鍏i錛屾墍浠ョ幇I琛ㄧず鎻掑叆錛岀劧鍚?-錛屼絾鏄繖鏍峰彧鏄鏈寮濮嬬殑閭d釜璧蜂綔鐢紝瑕佸簲鐢ㄥ埌鎵鏈夌殑鍧楋紝闇瑕佷嬌鐢‥sc閿級

鑷姩鎻愮ず<Ctrl+n> <Ctrl+p>
鎵璋撶殑鑷姩鎻愮ず錛氬疄闄呬笂鏄疺im瀵圭敤鎴瘋繎鏈熻緭鍏ョ殑鍗曡瘝榪涜緇熻璁板繂鐨勭粨鏋滐紝瀹冪殑榪欎釜鑷姩鎻愮ず錛屾槸褰撲綘榪戞湡杈撳叆鏌愪釜鍗曡瘝鍚庯紝鍐嶆杈撳叆鐨勬椂鍊欙紝濡傛灉杈撳叆棣栧崟璇嶏紝浣跨敤璇ュ揩鎹烽敭灝辮兘鍖歸厤鐩稿簲鍗曡瘝錛屼粠鑰岃嚜鍔ㄨˉ鍏ㄣ?br />濡傝緭鍏ヤ笅闈㈢殑涓や釜鍗曡瘝錛?br />LaTeX
XeLaText
鐒跺悗鍦ㄨ緭鍏ヤ笅闈㈢殑榪欎釜錛屽彧杈撳叆棣栧崟璇嶏紝鍦ㄥ埄鐢–+n緇勫悎錛屽氨浼氳嚜鍔ㄨˉ榻愩?br />XeLaText LaTeX

瀹忓綍鍒訛細
qa鎶婁綘鐨勬搷浣滆褰曞湪瀵勫瓨鍣╝鍐?br />鐒跺悗@a灝變細閲嶅榪欎釜琚褰曠殑瀹?br />@@鐢ㄦ潵閲嶅鑷繁鐨勪竴涓畯錛堣鎸囧畾鏌愪竴涓壒瀹氱殑灝辮鐢ˊxx錛屽叾涓瓁x鍗沖墠闈繚瀛樼殑鍚嶏級

qaYp<C-a>q→
        qa 寮濮嬪綍鍒?br />        Yp 澶嶅埗琛?
        <C-a> 澧炲姞1.
        q 鍋滄褰曞埗.
    @a → 鍦?涓嬮潰鍐欎笅 2
    @@ → 鍦? 姝i潰鍐欎笅3
    鐜板湪鍋?100@@ 浼氬垱寤烘柊鐨?00琛岋紝騫舵妸鏁版嵁澧炲姞鍒?103.


鍙鍖栭夋嫨v錛孷錛孋trl+V錛堣繖涓湪鍓嶉潰鏈夎鍒幫級
棣栧厛鐨勫伐浣滆嚜鐒舵槸浣跨敤榪欎釜宸ュ叿鏉ラ夋嫨浜嗭紝闅忎究鍝竴縐嶉兘鍙互銆?br />鍏舵閫夋嫨鍚庡氨鏄璇ユā鍧楄繘琛屾搷浣滐紝緙栬緫浜嗐傚彲浠ユ湁
J : 鎶婃墍鏈夎閮借繛鎺ヨ搗鏉?br />< or > : 宸﹀彸緙╄繘
=錛氳嚜鍔ㄥ畬鎴愮緝榪涳紙鍘熷鍔ㄧ敾涓氨鏄繖涓晥鏋滐紝鐪嬩簡鍗婂ぉ鍙戠幇緙╄繘鍙樺寲浜嗭級

濡備綍鍦ㄦ墍鏈夐変腑琛岀殑鏈熬閮藉姞鍏ヤ竴涓笢涓滃憿錛?br />灝卞拰鍦ㄥ墠闈㈠姞鍏?-鐨勯偅涓緥瀛愪竴鏍鳳紝鍏堥変腑妯″潡錛岀劧鍚庤煩鍒版湯灝?,鐒跺悗鍔犲叆鐨勮瘽鏄疉錛屽姞鍏ユ煇涓氨鏄緭鍏ュ瓧絎︿覆浜嗭紝搴旂敤鍒版墍鏈夋ā鍧楃殑閮ㄥ垎灝辨槸鎸変笅Esc鍗沖彲銆?br />

鍒嗗睆split鍜寁split
:split: 鍒涘緩鍒嗛厤錛坴split鍒欐槸鍒涘緩鍨傜洿鍒嗗睆錛?br />C-w<Direction>錛?Direction鍙互鏄痟jkl鎴栬呮柟鍚戦敭錛岀敤鏉ヤ笉鍚屽睆騫曞垏鎹?br />C-w_鎴栬匔-w|: 鐢ㄦ潵鏈澶у寲灝哄銆?br />C-w+鎴栬匔-w-: 澧炲姞灝哄銆?br />
鍒嗗睆鐨勪嬌鐢細
1.浣跨敤澶у啓鐨凮鍙傛暟鏉ュ瀭鐩村垎灞忋倂im -On file1 file2
2. 浣跨敤灝忓啓鐨刼鍙傛暟鏉ユ按騫沖垎灞忋?vim -on file1 file2
3. 涓婁笅鍒嗗壊錛屽茍鎵撳紑涓涓柊鏂囦歡銆?:sp filename
4. 宸﹀彸鍒嗗壊錛屽茍鎵撳紑涓涓柊鏂囦歡銆?:vsp filename
5. 灞忓箷涔嬮棿鐨勭Щ鍔細Ctrl + W + (h, j, k, l)(涓嶅悓鍙傛暟琛ㄧず縐誨姩鐨勬柟鍚?
   姣斿Ctrl + W + h琛ㄧず鍚戝乏杈圭殑灞忓箷縐誨姩銆?br />6. 灞忓箷灝哄鐨勫彉鍖栥?br />   Ctrl + W + : 琛ㄧず澧炲姞楂樺害銆?br />   Ctrl + W - : 琛ㄧず鍑忓皯楂樺害
   Ctrl + w = : 浣垮緱鎵鏈夌殑灞忓箷鏈夌浉鍚岀殑楂樺害
7. 鍏蜂綋鐨勬洿鍔犺緇嗙殑鍐呭瑙乭elp鏂囨。鎴栬卙ttp://coolshell.cn/articles/1679.html
   (娉紝閰峰3涓婄殑閮ㄥ垎鍛戒護鍙兘鐢變簬鐗堟湰鍘熷洜宸插け鏁堬紝搴旇鏈夋柊鐨勫揩鎹烽敭浠f浛)

VIM榪樻湁鏇村鐨勫姛鑳介渶瑕佸涔狅紝鍏抽敭鏄湪浣跨敤涓笉鏂姞娣辯粌涔狅紝榪樻湁寮哄ぇ鐨勬墿灞曟彃浠訛紝鍙﹀鍦ㄦ祻瑙堝櫒涓篃鏈夌浉搴旂殑鎵╁睍錛屽彲璋撳姛鑳藉己澶с傚悗緇細緇х畫瀛︿範錛屽茍鍋氬ソ絎旇浠ュ強鏃舵葷粨瀛︿範鎵寰椼?br />



鍒樼晠 2011-10-30 20:27 鍙戣〃璇勮
]]>
Chrome紲炲櫒Vimium蹇嵎閿涔犺褰?/title><link>http://www.shnenglu.com/deercoder/archive/2011/10/22/158886.html</link><dc:creator>鍒樼晠</dc:creator><author>鍒樼晠</author><pubDate>Sat, 22 Oct 2011 12:25:00 GMT</pubDate><guid>http://www.shnenglu.com/deercoder/archive/2011/10/22/158886.html</guid><wfw:comment>http://www.shnenglu.com/deercoder/comments/158886.html</wfw:comment><comments>http://www.shnenglu.com/deercoder/archive/2011/10/22/158886.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.shnenglu.com/deercoder/comments/commentRss/158886.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/deercoder/services/trackbacks/158886.html</trackback:ping><description><![CDATA[浠婂ぉ涓嬪崍鎶樿吘浜嗕竴涓婥hrome涓嬮潰鐨勪竴涓彃浠禫imium鐨勪嬌鐢紝欏挎椂鍙戠幇璇ユ彃浠跺姛鑳藉己澶э紝鑳藉婊¤凍鍑忓皯榧犳爣鐨勪嬌鐢ㄣ傝嚦浜庝負浣曡浣跨敤榪欎釜鎻掍歡錛屾簮浜庢垜鎵嬭厱涓婄殑浼や竴鐩存病鏈夊ソ錛屼嬌鐢ㄩ紶鏍囩殑鏃跺欐湁杞誨井鐨勭柤鐥涖傝屼笖錛岀敱浜庢垜涓鑸兘鏄湪SNS緗戠珯涓婂仠鐣欙紝鍦ㄤ漢浜哄拰寰崥姣旇緝澶氾紝鎵浠ュ疄闄呬笂鍙戠幇姣忔鐪嬪畬涓涓竴涓〉闈㈤兘瑕佺偣涓嬩竴欏電殑鎰熻寰堜笉鐖斤紝鑰屽悓鏃舵渶榪戝湪瀛︿範Vim錛屾墍浠ユ兂鍒板鏋滆兘澶熷疄鐜板嚑涓畝鍗曠殑蹇嵎閿紝閭d箞浼氱浉褰撴柟渚褲備負姝oogle涔嬶紝鍙戠幇浜嗚繖涓粰鍔涚殑鎻掍歡錛屼互涓嬩負鎴戠殑瀛︿範絎旇銆?br /><br />Vimium浣跨敤蹇嵎閿葷粨<br /><br /><div align="center"><img src="http://www.shnenglu.com/images/cppblog_com/deercoder/Vimium-help-graphic.png" height="432" hspace="0" vspace="0" width="501" /><br /></div><br /><style type="text/css"><!-- @page { margin: 0.79in } TD P { margin-bottom: 0in } P { margin-bottom: 0.08in } --></style><p style="margin-bottom: 0in"></p><table dir="LTR" cellpadding="2" cellspacing="0" width="320" align="LEFT"><colgroup><col width="55" /><col width="9" /><col width="244" /></colgroup><tbody><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>j, <c-e></b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll down</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>k, <c-y></b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll up</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>h</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll left</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>l</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll right</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>gg</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll to the top of the page</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>G</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll to the bottom of the page</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>zH</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll all the way to the left</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>zL</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll all the way to the right</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>d</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll a page down</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>u</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Scroll a page up</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>r</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Reload the page</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>gs</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">View page source</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>yy</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Copy the current URL to the clipboard</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>yf</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Copy a link URL to the clipboard</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>gu</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Go up the URL hierarchy</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>i</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Enter insert mode</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>gi</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Focus the first (or n-th) text box on the page</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>f</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Open a link in the current tab</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>F</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Open a link in a new tab</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b><a-f></b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Open multiple links in a new tab</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>b</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Open a bookmark in the current tab</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>B</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Open a bookmark in a new tab</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>[[</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Follow the link labeled previous or <</font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>]]</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#555555"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Follow the link labeled next or ></font></font></font></p></td></tr><tr><td style="border: none; padding: 0in" width="55"><p style="border: none; padding: 0in" align="RIGHT"><font color="#2f508e"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1"><b>gf</b></font></font></font></p></td><td style="border: none; padding: 0in" width="9"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">:</font></font></font></p></td><td style="border: none; padding: 0in" width="244"><p style="border: none; padding: 0in"><font color="#000000"><font face="Liberation Serif, serif"><font style="font-size: 8pt" size="1">Cycle forward to the next frame on the page</font></font></font></p></td></tr></tbody></table><font color="#FF0000">j: 鍚戜笅縐誨姩銆?br />k錛氬悜涓婄Щ鍔ㄣ傦紙涓嶆槑鐧介粯璁ょ殑<c-y>琛ㄧず鏄暐鐢ㄦ硶錛屼嬌鐢ㄤ簡c-y榪欎笁涓敭娌℃湁鏁堟灉錛?br />h錛氬悜宸︾Щ鍔ㄣ?br />l錛氬悜鍙崇Щ鍔ㄣ?/font><br />zH錛氫竴鐩寸Щ鍔ㄥ埌宸﹂儴銆?br />zL:涓鐩寸Щ鍔ㄥ埌鍙抽儴銆?br /><font color="#FF0000">gg錛氳煩杞埌欏甸潰鐨勯《閮ㄣ?br />G錛氳煩杞埌欏甸潰鐨勫簳閮ㄣ?br />d錛氬悜涓嬬炕欏碉紙鐩稿綋浜嶱ageDown琚寜涓嬩簡錛?br />u錛氬悜涓婄炕欏碉紙鐩稿綋浜嶱ageUp琚寜涓嬩簡錛?br />r錛氶噸鏂拌澆鍏ヨ欏碉紙鐩稿綋浜嶧5鍒鋒柊欏甸潰錛?/font><br />gs錛氭煡鐪嬮〉闈㈡簮浠g爜<br /><font color="#FF0000">yy錛氭嫹璐濆綋鍓嶉〉闈㈢殑URL鍒板壀璐存澘<br />yf錛氭嫹璐濇煇涓涓猆RL鍒板壀璐存澘錛堝疄闄呬笂鏄浉褰撲簬杈撳叆浜唂錛岀劧鍚庡嚭鐜板緢澶氱紪鐮佺殑URL錛岄夋嫨鏌愪釜涔嬪悗錛岀浉褰撲簬鎷瘋礉浜嗘煇涓紝鍥犱負涓涓〉闈腑鍙兘鏈夊緢澶氳秴閾炬帴錛?/font><br /><font color="#FF0000">gu錛氳煩杞埌鐖墮〉闈紙姣斿http://www.douban.com/group/vim/錛岃緭鍏ュ悗璺寵漿鍒扮埗欏甸潰鍗砲ttp://www.douban.com/group/錛屾墍浠ヤ笉鍚屼簬H鐨勫揩鎹烽敭鏄洖鍒頒笂涓巻鍙查〉闈級</font><br /><br /><font color="#FF0000">i錛氳緭鍏ユā寮忥紙濡傛灉鍙戠幇鍛戒護涓嶈搗浣滅敤錛屽彲鑳芥槸榪涘叆杈撳叆妯″紡浜嗭紝姝ゆ椂鎸塃sc鍥炲埌鍛戒護妯″紡錛?br />gi錛氬皢鐒︾偣闆嗕腑鍒扮涓涓緭鍏ユ錛堣緭鍏Ni鍒欑劍鐐歸泦涓埌絎琋涓緭鍏ユ錛?br />f錛氬湪褰撳墠鐨勯〉闈㈡墦寮涓涓柊鐨勯摼鎺ャ?br />F錛氬湪鏂扮殑欏甸潰鎵撳紑涓涓柊鐨勯摼鎺ャ?/font><br /><a-f>:鍦ㄥ綋鍓嶉〉闈㈡墦寮澶氫釜閾炬帴錛堟病鎰熻浣跨敤鍒頒簡澶氫釜鏍囩錛屼笉榪囪〃紺虹殑鏄緭鍏f錛?br /><font color="#FF0000">b錛氬湪褰撳墠欏墊墦寮涓涓功絳俱傦紙杈撳叆閮ㄥ垎緗戝潃浼氳嚜鍔ㄨ繘琛屾悳绱級<br />B錛氬湪鏂扮殑鏍囩欏墊墦寮涓涓功絳?/font><br />gf錛氬驚鐜埌褰撳墠欏甸潰鐨勪笅涓涓灞傦紙鍙兘璺熼〉闈㈠埗浣滄湁鍏籌紝鐩墠娌$敤鍒幫級<br /><br /><font color="#FF0000">鏌ユ壘妯″紡錛氾紙鍜孷im鐩鎬技錛?br />/ : 鏌ユ壘<br />n: 鍚戜笅鏌ユ壘鍖歸厤鍐呭<br />N錛氬悜涓婃煡鎵懼尮閰嶅唴瀹?br /><br />瀵艱埅鍘嗗彶錛?br />H錛氬洖閫涓婁竴涓巻鍙查〉闈紙鐩稿綋浜庢祻瑙堝櫒涓殑鍚戝乏綆ご錛?br />L錛氬洖鍒頒笅涓涓巻鍙查〉闈紙鐩稿綋浜庢祻瑙堝櫒鐨勫悜鍙崇澶達級<br /><br />鏍囩欏墊搷浣滐細<br />K錛実t錛氳煩杞埌鍙寵竟鐨勪竴涓爣絳鵑〉<br />J錛実T錛氳煩杞埌宸﹁竟鐨勪竴涓爣絳鵑〉<br />t錛氬垱寤轟竴涓柊鐨勬爣絳鵑〉<br />x錛氬叧闂綋鍓嶇殑鏍囩欏?br />X錛氭仮澶嶅垰鍒氬叧闂殑鏍囩欏?br />錛燂細鏄劇ず鍛戒護鐨勫府鍔╂彁紺猴紙鍐嶆寜涓嬈″叧闂級</font><br />(綰㈣壊涓哄父鐢ㄧ殑鍛戒護)<br /><br />鍙﹀錛屽湪褰撳墠鐨勬爣絳鵑〉鐩存帴杈撳叆涓涓柊鐨勭綉鍧錛屾寜F6灝監K浜嗐傝繖涓熀鏈殑蹇嵎閿兘涓嶄細錛屾悳浜嗗崐澶╂墠鎼炲畾錛屾睏锝?br />鍙戠幇瀛︿範涓涓柊鐨勪笢瑗夸篃涓嶆槸寰堣垂鏃墮棿錛岃屼笖鑳藉鎻愰珮鏁堢巼錛岀湅鏉ヨ繕鏄鎶樿吘鍟婏紝騫磋交涓嶆姌鑵懼氨浼氶姝ワ紝灝卞儚宸ヤ綔浠ュ悗灝辨病蹇冩濆掕吘浜嗕竴鏍鳳紝閫姝ヤ笉灝戝晩錛?br /><br />闄刲inuxToy鐨勯儴鍒嗚鏄庯紙http://linuxtoy.org/archives/vimium.html錛夛細<br />Vimium 鐢ㄦ硶<br />欏甸潰嫻忚<br />j銆乲銆乭銆乴錛氬悜涓?涓?宸?鍙蟲粴鍔?<br />gg 鍜?G錛氱Щ鑷抽〉欏?欏靛簳 <br />Ctrl + d 鍜?Ctrl + u錛氫笅/涓婄炕欏?<br />zi 鍜?zo錛氭斁澶?緙╁皬 <br />鍘嗗彶<br />H錛氬悗閫 <br />L錛氬墠榪?<br />鏍囩欏?br />t錛氭墦寮鏂版爣絳?<br />d錛氬叧闂爣絳?<br />u錛氳繕鍘熸爣絳?<br />J/K錛氫笅/涓婁竴涓爣絳?<br />Hint 妯″紡<br />f/F錛氳繘鍏?Hint 妯″紡錛屽悗鑰呬細鍦ㄦ柊鏍囩欏典腑鎵撳紑閾炬帴 <br /><br /><img src ="http://www.shnenglu.com/deercoder/aggbug/158886.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/deercoder/" target="_blank">鍒樼晠</a> 2011-10-22 20:25 <a href="http://www.shnenglu.com/deercoder/archive/2011/10/22/158886.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Vim瀛︿範絎旇http://www.shnenglu.com/deercoder/archive/2011/10/05/157573.html鍒樼晠鍒樼晠Wed, 05 Oct 2011 09:53:00 GMThttp://www.shnenglu.com/deercoder/archive/2011/10/05/157573.htmlhttp://www.shnenglu.com/deercoder/comments/157573.htmlhttp://www.shnenglu.com/deercoder/archive/2011/10/05/157573.html#Feedback4http://www.shnenglu.com/deercoder/comments/commentRss/157573.htmlhttp://www.shnenglu.com/deercoder/services/trackbacks/157573.html
 
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銆俤e,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. 鍖歸厤浣跨敤%錛屾斁緗湪涓涓嫭鍙蜂笅闈紝鐒跺悗杈撳叆%錛屽氨浼氳煩杞埌鍙﹀涓涓笂闈€?nbsp;   

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.錛堜笉鎻愮ず錛屼絾鏄槸鏁翠釜鏂囦歡錛?br />     Type   :%s/old/new/gc     to find every occurrence in the whole file,
                               with a prompt whether to substitute or not.錛堟彁紺烘槸鍚︿唬鏇匡級
                               
13.g琛ㄧず鍙栦唬璇ヨ鎵鏈夌殑銆?br /> 姣斿:s/thee/the/g琛ㄧず鍙栦唬璇ヨ涓墍鏈夌殑thee涓簍he銆?nbsp;                             
                               
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. 錛氾紒 榪愯鎵ц澶栭儴紼嬪簭銆傦紙鍐掑彿鏄繀欏葷殑錛屽懡浠ゆā寮忛兘蹇呴』鐨勶紝姣斿錛歸琛ㄧず淇濆瓨錛?(澶栭儴鍛戒護濡俵s錛宲wd闇瑕佷嬌鐢紒錛岃屽唴閮ㄥ懡浠ゅ垯鏄洿鎺ワ細w絳夌瓑錛屼笉闇瑕佷嬌鐢紒)                         
                               
16. 杈撳叆v榪涘叆瑙嗚妯″紡錛屾鏃墮紶鏍囧悜涓嬩細閫変腑閮ㄥ垎鏂囧瓧錛岀劧鍚庡彲浠ュ閫変腑鐨勬枃瀛楁搷浣溿?br />姣斿錛歸 TEST鍒欎細鎶婇変腑鐨勪繚瀛樹綅鏂囨湰銆?br />:d鍒欎細鍒犻櫎閫変腑鐨勬枃鏈?nbsp;                              
                               
17. 鎻掑叆涓涓枃浠剁殑閮ㄥ垎鍐呭錛屼嬌鐢細r FILENAME鍗沖彲鎻掑叆涓涓枃浠跺埌璇ヨ銆?nbsp;                             
 
18. 鍦ㄤ笅鏂規柊寤轟竴涓┖琛岋紝浣跨敤o錛?br /> 鍦ㄤ笂鏂規柊寤轟竴涓┖琛岋紝浣跨敤O銆傦紙鍛戒護妯″紡涓嬶級    錛堣緭鍏ュ懡浠ゅ悗浼氳繘鍏ユ彃鍏ユā寮忥級
     
NOTE:  a, i and A all go to the same Insert mode, the only difference is where
       the characters are inserted.錛坅鏄湪鍏夋爣鍚庯紝A鏄湪琛屾湯灝撅紝i鍒欐槸鍏夋爣澶勶級

19. e璺寵漿涓涓崟璇嶃俥.g: 2e琛ㄧず璺寵漿涓や釜鍗曡瘝錛屾瘮鍚戝彸閿洿蹇嵎銆?br />    G璺寵漿琛屻俥.g: 721G琛ㄧず璺寵漿鍒扮721琛?br />     
     
20. 鏇挎崲錛?br />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錛堝寘鍚ぇ灝忓啓鍖歸厤鐨勯兘鏄劇ず鍑烘潵錛屾瘮濡侷gnore錛孖GNORE錛?br />    Set the 'hlsearch' and 'incsearch' options:  :set hls is錛堥珮浜樉紺猴級


錛坰et option錛?br />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. 鍦ㄥ懡浠ゆā寮忎笅錛岃緭鍏鐒跺悗鎸塗AB閿紝浼氳嚜鍔ㄥ嚭鐜板緢澶氱浉鍏崇殑鍛戒護錛堜互e寮澶寸殑鍛戒護錛夈傦紙絎竴涓浉鍏崇殑錛?br />鎸塁trl + D鑳藉鍑虹幇鎵鏈変互浠栧紑澶寸殑鍛戒護銆?nbsp;    
     
     
    


鍒樼晠 2011-10-05 17:53 鍙戣〃璇勮
]]>
久久久久亚洲av毛片大| 99久久免费国产精品特黄| 99久久人妻无码精品系列| 久久精品国产影库免费看 | 久久午夜免费视频| 久久棈精品久久久久久噜噜| 久久久青草久久久青草| 久久综合视频网站| AAA级久久久精品无码片| 久久综合五月丁香久久激情| 丰满少妇高潮惨叫久久久| 欧美成a人片免费看久久| 久久人人爽人人爽人人AV东京热 | 国产A级毛片久久久精品毛片| 一97日本道伊人久久综合影院| 色偷偷偷久久伊人大杳蕉| 青青热久久国产久精品 | 久久妇女高潮几次MBA| 久久综合久久久| 人人狠狠综合久久88成人| 欧美久久久久久午夜精品| 久久er热视频在这里精品| 亚洲AV日韩精品久久久久久| 久久久久九国产精品| 青青草原综合久久| 久久精品aⅴ无码中文字字幕重口 久久精品a亚洲国产v高清不卡 | 久久成人国产精品二三区| 亚洲国产精品18久久久久久| 婷婷国产天堂久久综合五月| 精品人妻伦一二三区久久| 久久精品国产精品国产精品污| 色偷偷88888欧美精品久久久| 中文字幕久久亚洲一区| 国内精品久久久久久麻豆| 久久青草国产精品一区| 成人国内精品久久久久影院| 久久精品国产亚洲av影院| 久久精品aⅴ无码中文字字幕重口| 亚洲AV无码久久精品成人| 久久A级毛片免费观看| 久久ww精品w免费人成|