åãæ¥å¸¸çã«ä½¿ç¨ããviã®ã³ãã³ãã®ä¸è¦§ã§ããããã ãè¦ãã¦ããã°ãviã®æä½ã§å°ããã¨ã¯ã»ã¨ãã©ããã¾ããã çµäº é常çµäº :q å¼·å¶çµäº :q! é常ä¿åï¼é常çµäº :wq å¼·å¶ä¿åï¼å¼·å¶çµäº :wq! ä¿å é常ä¿å :w å¼·å¶ä¿å :w! ã«ã¼ã½ã«ç§»å å³ã«ç§»å l å·¦ã«ç§»å h ä¸ã«ç§»å k ä¸ã«ç§»å j ãã¡ã¤ã«ã®å é ã«ç§»å :0 ãã¡ã¤ã«ã®æå¾ã«ç§»å :$ æå®ããè¡ã«ç§»å :è¡çªå· å ¥å ç¾å¨ä½ç½®ããå ¥å i 次ã®æåããå ¥å a 次ã®è¡ããå ¥å o ã³ãã¼ ç¾å¨è¡ãã³ãã¼ yy è¤æ°è¡ãã³ãã¼ (1) ms ⦠(ã³ãã¼éå§è¡ã«ãã¼ã¯) (2) me ⦠(ã³ãã¼çµäºè¡ã«ãã¼ã¯) (3) :'s,'ey ⦠(éå§è¡ãçµäºè¡ã®ç¯å²ãã³ãã¼) ç¾å¨ä½ç½®ããè¡æ«ã¾ã§ã³ãã¼ y$ ç¾å¨ä½ç½®ããæåCã®ç´åã¾ã§ã³ãã¼ ytC ⦠(Cã¯ä»»æã®æå) ç¾å¨ä½ç½®ããæåCã¾ã§ã³ãã¼
Latest topics > ã¢ã¯ã»ã¹ã®ãããããå©ç¨ã®ãããããã«å¯¾ããéæã 宣ä¼ãæ¥çµLinuxã«ã¦Linuxã®åºç¤ï¼ãç´¹ä»ãã漫ç»ãã·ã¹ç®¡ç³»å¥³åããé£è¼ããã¦ããã ãã¦ãã¾ãã 以ä¸ã®ç¹è¨ãµã¤ãã«ã¦ãåè¡æ¬ã¾ããã§ãããLinux ã·ã¹ç®¡ç³»å¥³åã®è©¦ãèªã¿ãå¯è½ï¼ « Tab Mix Plusææ¥éåããããããã§ã¯ãªããã§ãã Main èªé » ã¢ã¯ã»ã¹ã®ãããããå©ç¨ã®ãããããã«å¯¾ããéæã - Apr 21, 2009 ã¯ã¦ãªãã©ã¤ãã·ã¼åé¡ãã¨ã§ããããã§ãããããã®ã¨ããé¨ããã¦ãã¢ã¬ãåã¯ã©ã¡ããã¨ããã¨ããããä½ã§ãããã©ã§å ¬éãããã ããã©ã¤ãã·ã¼ã¤ããããããã¡ã£ã¨èããã常èãæ´¾ã¨ãã¦é観ãã¦ãããã§ããã ããã¯ä¸»è¦³ã«ããç¡æ ¹æ ãªæ±ºãã¤ãã ãã©ããªãã¨ãªãããRSSã§ã¯åããã§ã¦ãæ å ±ããããã以åããåºã¦ãæ å ±ãã¾ã¨ããã ãããããã¨ããçç±ã§ããã¯å ¨ã
2. è¨å®ãæå¹ã«ããªãã¨ãvimã¨ãã£ã¿ã®ä¾¿å©ãªæ©è½ã¯å©ç¨ã§ããªã ããã©ã«ãã§ã¯vimã¨ãã£ã¿ã¯viäºæã¢ã¼ãã§åä½ãã¾ãã ã¤ã¾ããå¤ãã®vimã¨ãã£ã¿ã®ä¾¿å©ãªæ©è½ã¯ç¡å¹ã«ãªã£ã¦ãã¾ãã ãã£ã¨ãç°¡åã«ãããã®æ©è½ãæå¹ã«ããæ¹æ³ã¯ $HOME/.vimrcè¨å®ãã¡ã¤ã« ãç¨æãããã¨ã§ãã ããããã®ãµã³ãã« ã§ãã( ãã®ãã¡ã¤ã«ã®èª¬æã¯ãã¡ãã§ãã ) ä¸çªæåã«æ°ãã¤ãã§ãããvimã¨ãã£ã¿ã®æ©è½ã¯ã vimã¨ãã£ã¿ã§ã¯è¤æ°åã®ã¢ã³ãã¥ãå¯è½ã§ãããã¨ã§ãããã .vimrcè¨å®ãã¡ã¤ã« ãä½æããæã«ãã£ã¨æ°ã¥ãã¾ãã 3. ãã«ãã¦ã£ã³ã㦠:split ã«ã¬ã³ãã¦ã£ã³ãã¦ã2ã¤ã«åãã¾ãã Control-w k ã§ã«ã¼ã½ã«ãä¸ã®ã¦ã£ã³ãã¦ã«ã Control-w j ã§ã«ã¼ã½ã«ãä¸ã®ã¦ã£ã³ãã¦ã«ç§»åã§ãã¾ãã :split file.txt ã¦ã£ã³ãã¦ã2ã¤ã«åå²ãã
ãã®é ç®ã§ã¯ãããã¹ãã¨ãã£ã¿ã®viã«ã¤ãã¦èª¬æãã¦ãã¾ãããã¼ãæ°åã®ï¼ã表ããVIãã«ã¤ãã¦ã¯ã6ããã覧ãã ããã vi(ã)ã¯ãUNIXã使ãã«ããããããã«ããããã®äººã ãç»é¢ãé»ãã¨ãããã®ã«ãã¨ããã¦ããããã¹ãã¨ãã£ã¿ã§ããããã«ã»ã¸ã§ã¤ã«ãã£ã¦éçºããããåã®ç±æ¥ã¯VIsual editorã®ç¥ã¨è¨ããã¦ãããããã¸ã¥ã¢ã«å¿åã¨æãããã¨ã¯ãªããè¿å¹´ã®Linuxãªã©ã«æè¼ããã¦ããã®ã¯æ¹è¯çã®Vimã§ããã(viã³ãã³ãã§vimãèµ·åããã) ã«ã¼ã½ã«ç§»å[ç·¨é] viã¯ãã¦ã¹ãã«ã¼ã½ã«ãã¼ãã¤ãã¦ãªããããã¦è²§å¼±ãªã·ã¹ãã ã§åãããã¨ãæ³å®ãã¦ããã ãã®ãããã«ã¼ã½ã«ã®ç§»åã¯ãhããjããkããlãã§è¡ãã h - hidariã«åãããã®ãã¼ã®ã¿ããããããã j - ã¾ãã(çä¸)ã«åããjã«ã¯ãã¾ããå»å°ããã¦ããã k - kitaã«åããå½ç¶ãåã¯ä¸ã§ããã
å æ¥ãæ¬å®¶/.ããã³/.Jã§ï¼ä¾¿å©ã§ï¼ãã ããªãUnixæã¯ï¼ãï¼æ¬å®¶ã§ã¯ã(Useful) Stupid Unix Tricks?ãï¼ã¨ããã¹ãã¼ãªã¼ãçãä¸ãã£ã¦ãã¾ããããæ¬å®¶ã§ã¯ãã®çãä¸ããã®å°»é¦¬ã«ä¹ãããã®ããã(Stupid) Useful Emacs Tricks?ï¼ï¼ä¾¿å©ã§ï¼ãã ããªãEmacsæã¯ï¼ããã (Useful) Stupid Vim Tricks?ï¼ï¼ä¾¿å©ã§ï¼ãã ããªãVimæã¯ï¼ãã¨ããã¹ãã¼ãªã¼ãç«ã£ã¦ãã¾ãã ãããã«Unixæã®ããã«ã¯ããã¾ããããããããã«çãä¸ãã£ã¦ãã模æ§ãã¨ãããã¨ã§ã/.Jã§ã便ä¹ãã¦ï¼ä¾¿å©ã§ï¼ãã ããªãVimæãèãã¦ã¿ãããã¨æãã¾ãã ã¡ãªã¿ã«æ¬å®¶ã§ã¯ãã:Sexããã:b#ãããmarksãããctagsããæãããã¦ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}