vimperatorãå°å ¥ããåã«ç¥ã£ã¦ããã¹ããã¨
ä»æ´ãããæ°ãããã®ã§ãããFirefoxã®è¶
便å©ã¢ããªã³ã§ããvimperatorãããããå°å
¥ãã人åãã®å
容ã
å°å
¥ããã ãã§ããã©ã¦ã¸ã³ã°ã1.5åãããæ©ããªãããï¼ã©ããªãããã¯ä¸æï¼
ãã®ï¼ vimperatorãå°å ¥ããç´å¾ã«ãFirefoxãåèµ·åããã¨menu bar, tool bar, bookmark bar ãæ¶ãããã§ããã©ï½ï½ï½
ããã¯ãvimperatorãå°å
¥ããç´å¾ã«èµ·ããæ´ç¤¼äºé
ãªã®ã§ããããã®ç¾è±¡ã¸ã®å¯¾å¦æ¹æ³ãããããvimperatorãã
é ããã£ã¦ãã人ããæ°ããã¾ããããã¯vimperatorã®è¨å®ã§
:set guioptions=
ã¨ãã£ã¦ãã®ã«çããã®ã§ãããã¨ãããããã®ã¾ã¾ã ã¨å³ããã®ã§å°å ¥ç´å¾ã¯
:set guioptions=mTb
ã¨ãã¦ãããã»ããããã§ããããã
ã¯ããããªãããã®ãªãã·ã§ã³ã¯mã¯menu bar, T㯠Tool bar, bã¯ãbook marklet barãããããã¦ãã¾ãã
ãã¼ã«ãã¼ã ã表示ãããå ´åãªã©ã¯
:set guioptions = T
ã¨è¨å®ããã¨ããã§ãããã
ã¨ããããguiã®è¨å®ã«é¢ãã¦ã¯ä»¥ä¸ã§ãããã®æ®µéã§å°å ¥ããããããªã£ã人ã¯
:addons
ãå®è¡ããã¨ãFirefoxã®addonã表示ãããã®ã§ãããã§vimperatorã®è¨å®ãç¡å¹åã«ããã¨Firefoxãåèµ·åå¾
vimperatorãç¡å¹åããã¾ãã
ãã®2ãã¨ãããããã«ããè¦ãããã§ããã©ãããããã¨ãã¥ã¼ããªã¢ã«ã¨ãããããªããããããªã£ã¦ãã
ãã«ãã¯
:help
ãããã¯F1ã§è¡¨ç¤ºããã¾ãã
ã¾ãç¹å®ã®é ç®ã®ãã«ãã ããè¦ããå ´åã¯
:help æ¤ç´¢èªå¥
ã¨ããäºã§ç¹å®ã®å 容ã®ãã«ãé ç®ãã¿ããã¨ãã§ãã¾ãããã¥ã¼ããªã¢ã«ã試ãããå ´åã¯
:help tutorial
ã§ããã¥ã¼ããªã¢ã«ã®ç»é¢ã表示ããã¾ã ãããã¥ã¼ããªã¢ã«ã®å
容ã¯vimperatorãæä½ããã«å½ãã£ã¦
ãããããã£ã¦ããã°ã¨ããããç¨ç¨å¿«é©ã«ãã©ã¦ã¸ã³ã°ã§ããã ãããããã®å
容ãæ¸ããã¦ããã®ã§
èªãã§ããã¨åã§ã
ãã®3ã移åã³ãã³ããããããªããã§ããã©ï½ï½ï½ï½ï½
åºæ¬ç»é¢ç§»åã³ãã³ãã¯vimã«æºæ ãã¦ããã®ã§hjklã§ç»é¢ã®ä½ç½®ãå¶å¾¡ãããã¨ãã§ãã¾ãã
ã¿ãã®ç§»åã¯
ããã©ã«ãã®è¨å®ã ã¨ä¸ä¾¿ã ã¨æããå ´åã¯.vimperatorrcãå¤æ´ãããã¨ã«ãã£ã¦æåãå¤ãããã¨ãã§ãã¾ã
ãã®4ããã®ãããããæ¤ç´¢ã¨ãã©ãããããã®ã§ããããããã
vimperatorã§ã¯åºæ¬æ¤ç´¢ã¯tã使ã£ã¦è¡ãã¾ããç»é¢ä¸ã§tãã¿ã³ãæ¼ãã¨:tabopenã¨è¡¨ç¤ºãããã®ã§ã
æ¤ç´¢ãããã³ãã³ããå
¥åããã¨ããã©ã«ãè¨å®ã ã¨google æ¤ç´¢ãã§ã¦ããã¯ãã§ãã(注æ oã³ãã³ã:openãã»ã¼ä¼¼ããããªæ©è½ããã£ã¦ãã¾ããéãã¯æ°ããã¿ããã¤ãã(t)ããã¤ãããªãã(o))
:tabopen tako
ããå ¥åããã¨googleã§takoãæ¤ç´¢ããtabãæ°ãã«åºç¾ãã¾ã
ã¾ããç´æ¥ãµã¤ãã«é£ã³ããå ´å(ä¾ãã°ãnicovideo.jpã«ããããå ´åã¯)
:tabopen nicovideo.jp
ã¨å ¥åãããã¨ã§ç´æ¥ç®çã®ãµã¤ãã«è¡ããã¨ãã§ãã¾ã
:tabopenã³ãã³ãã¯é常ã«ä¾¿å©ã§åãªãæ¤ç´¢ã®ã¿ãªããéå»ã®å±¥æ´ãªã©ã®æ¤ç´¢ãã§ãã¾ããä¾ãã°ãéå»ã«
éæ³å°å¥³ã«é¢ãããµã¤ããããã¤ãæ¤ç´¢ããã¨ããå ´åã¯
:tabopen éæ³å°å¥³
ã¨ãã¡ããã¨ãéå»ã®å±¥æ´ããéæ³å°å¥³ã«é¢ãããµã¤ããæ½åºãã¦ããã¾ãã
ãã¾ãã«ãéæ³å°å¥³ãæ¤ç´¢ãããã¦ãã¦ç®çã®ãµã¤ããããããªãå ´åã¯çµãè¾¼ããã¨ãã§ãã¾ãã
ä¾ãã°éæ³å°å¥³ã®ãµã¤ãã§ä¸ã®äººãå
容ã«ãããã£ã¦ãããµã¤ããæ¢ãããå ´åã¯
:tabopen éæ³å°å¥³ãä¸ã®äºº
ã¨æ¤ç´¢ããã°çµãè¾¼ãã§æ¤ç´¢ãã¦ããã¾ãã
ãã以å¤ã«:tabopenã«ã¤ãã¦ç¥ã£ã¦ããã¹ããã¨ã¨ãã¦ã¯ã:tabopenã®æ¤ç´¢ã³ãã³ãã¯ããã©ã«ã(èªåã®ç°å¢ãªã
googleæ¤ç´¢)ã®ã¿ãªããFirefoxã«ããã¦ããæ¤ç´¢ãã¼ã®ã³ãã³ãã¯å
¨é¨å¦çãã¦ãããã¨ãããã¨ãããããã¾ãã
(æ¤ç´¢ã³ãã³ãã¯Firefoxã®æ¤ç´¢ãã¼ã«ããã¦ããã³ãã³ãã®ãã¨)
ä¾ãã°ãæ¤ç´¢ãã¼ã«Yahoo! auctionã®æ¤ç´¢ã³ãã³ããå ¥ãã¦ããå ´åã¯
:tabopen yahoo2 ã¡ããã¶
ãªã©ã¨å
¥åããã¨yahoo auctionæ¤ç´¢ãå®è¡ããã¿ããæ°ããéãã¾ããããã¯é常ã«ä¾¿å©ãªã®ã§è¦ãã¨ãã¨
ããã¨æãã¾ããFirefoxã®æ¤ç´¢ã³ãã³ãã¯vimperatorä¸ã§ä½¿ããã¨ãã
ãã®5ãã¿ããå¢ãããããã§æ¶ããããã§ããã©ï½ï½ï½ï½ï½
ã¿ããæ¶ãããå ´åã¯
d
ã³ãã³ãã§æ¶ããã¨ãã§ãã¾ãã
ã¾ããã¿ãã誤ã£ã¦æ¶ããå ´åã¯
u
ã³ãã³ãã§å¾©å¸°ãããã¨ãã§ãã¾ãã
ãã®6 åè¦ã¦ãããµã¤ãã«æ»ãããããªãã£ã¦ããã
ãµã¤ãã®å±¥æ´ã®ç§»åã³ãã³ãã¯
H <C-o>
ã§åã®ãµã¤ãã«æ»ã
L <C-i>
ã§æ¬¡ã®ãµã¤ãã«ç§»åãã äºãã§ãã¾ãã
ãã®7 ãªã³ã¯ãã¦ãããµã¤ãã«ç§»åãããããªãããã£ã¦
ãªã³ã¯ãã¦ãããµã¤ãã«ç§»åãããå ´åã¯
f F
ãæ¼ãã¨ãã®ãã¼ã¸ã«åå¨ãããªã³ã¯ãã¼ã¸ãæ°å¤ã¤ãã§è¡¨ç¤ºããã¦ããã®ã§ã表示ããã¦ããç®çã®
ãµã¤ãã®æ°åãå
¥åããã¨ãã®ãªã³ã¯ãã¼ã¸ã«é£ãã§ããã¾ãã
ãã®8 è£å®ã¨ããªããããï½ï½ï½
è£å®ã¯åºæ¬tabã³ãã³ããæ¼ãã°ãï½ã§ããè£å®ã®ç§»åã¯tab or Shift + tabã§å®è¡ãã¾ããä¾ãã° :ã¨æã£ã
ç¶æ
ã§tabãã¿ã³ãæ¼ãã¨è²ã
ãªã³ãã³ããã¢ã«ãã¡ãããé ã«è£å®ããã¾ããã»ãã«ã:set
ã¨ããè£å®ããã¾ãã
vimperatorã®è£å®ã¯ããããå¼·åãªã®ã§ãä½ããã£ããã¨ããããtabãæ¼ãã°è£å®ãããã¨è¦ãã¦ããã¨
ããããããã¾ããã
.vimperatorrcã®è¨å®ã«ãã£ã¦ã¯ãã£ã¨ä¾¿å©ã«ãªã£ããããã¾ãããªãããè¨å®ããã¨è¯ãã¨æãã¾ã
ãã®9 ãªããFirefoxåèµ·åãããtabã表示ãããªããªã£ããã§ããã©ï½ï½ï½ï½ï½
tabã®è¡¨ç¤ºè¨å®ã¯
:set showtabline= {0, 1, 2 }
ã§è¨å®ã§ãã¾ãã0ã ã¨tabã表示ããªãè¨å®ã1ã ã¨ã²ã¨ã¤ä»¥ä¸tabãããå ´åã«tabã表示
2ã ã¨always表示ã§ãã
ã¨ããããtabã表示ãããªããªã£ãå ´åã¯
:set showtabline= 2
ã¨æ¼ãã°è¡¨ç¤ºãããã¯ãã§ããã¯ã
ãã®10 ããã©ã«ãã®è¨å®ãå¤ããããã§ããã©ï½ï½ï½ï½
ã¨ãããã.vimperatorrc(ãããã¯_vimperatorrc)ã¨ãããã¡ã¤ã«ãä½ãã¨ããã§ãã
ä½ãæ¹ã¯ã¨ãããã
:cd ~ :pwd
ã¨å
¥åããã¨$HOMEã®ãã©ã«ãã表示ãããã®ã§ãããã®ãã©ã«ãä¸ã«é©å½ãªã¨ãã£ã¿ã§.vimperatorrc(winã ã¨_vimperatorrc)
ãä½ãã°ããã§ãã
è¨å®ã«é¢ãã¦ã¯Firefoxãåèµ·åããã¨ãã
source ~/.vimperatorrc
ã¨èªã¿è¾¼ããã¨ã§è¨å®ã®å¤æ´ãåæ ããã¾ãã
ã¨ã¾ãæä½éç¥ã£ã¨ãã¹ãäºã¯ãããªã¨ããã§ãããã ã¨ãããã1~2ãããã¯ç¥ããªãã¨ãããã³ã°ã«ãªãããããã¾ãã
ãã¨ã¯vimperatorãã«ããèªãã ãvimperatoré¢é£ã®ãµã¤ãè¦ããpluginãå°å ¥ãããä½ã£ããããã¨ããã«ä½¿ãããããªãã¨æãã¾ãã
ã¾ãåé¡ããå ´åã¯Skypeã« vimperatorã®Open Chat(http://tinyurl.com/6omg4j)ä½ã£ããã§æ¥ã¦ãããã¨å¯¾å¿ãããã(ã¨ã¯ããvimperatoræ´3ã«æããããªãã§ãã¾ããã¦ã«ãªããªãããããã¾ããã)
Hope this helps!!