Nagoya.vim #1 ãéå¬ãã¦ãã
Vim Advent Calendar 2012 ã® 282 æ¥ç®ã®è¨äºã§ãã
åå¤å±å¨ä½ Vimmer ã® @sgur ããã¨ä¸ç·ã« 9/7 åææ¥ã« Nagoya.vim ã¨ããåå¼·ä¼ã主å¬ãã¦ãã¾ããã éå¬ã®çµç·¯ããå½æ¥ã®æ§åãã¡ãã£ã¨è£è¶³ãããã«ã¤ãã¦æ¸ãã¾ãã
çµç·¯ã¨ã
ä½åç®ãã® vimrc èªæ¸ä¼ã§ @sgur ããã® vimrc ãèªãã§ããã®ã§ããããªãã¨ãã㧠@sgur ãããåå¤å±å¨ä½ã§ãããã¨ãçºè¦ãåãåå¤å±å¨ä½ã ã£ãã®ã§ nagoya.vim ããã¾ããããã¿ãããªè©±ã«ãã¡ãªã¿ã«ãä»ãã°ãè¦è¿ãã¦ã¿ãã nagoya.vim ç ½ã£ã¦ãã®ã¯ id:thinca ããã§ãããããããããåå¤å±ã§ Vim åå¼·ä¼ãéå¬ãã¦ãã©ãã ãéã¾ããæªç¥æ°ã ã£ãã®ã§ããã°ããã¯æ§åãè¦ããã¨ã«ãã¾ããã
sgur ããã¨ã®äºåæã¡åãã
åå¤å±ã®ä»ã®åå¼·ä¼ãªã©ã§ãVim ã®åå¼·ä¼ããããã¨ããã£ã¦ãããã§ããã¼ãã¨ãã話ããããããè¡ã£ã¦ã¿ãããã¨ãã人ãæ°åããã®ã§ãéå¬ãååãã«æ¤è¨ãããã¨ã«ãã¾ãããã¨ããããä½ãããã¨ã決ãã¾ãããã¨ãããã¨ã§ sgur ããã¨äºåæã¡åããããã¾ãããéå¬æ¥æã¨ãä½ããããã¨ãã¯ãã®æã«ããã¾ãã«æ±ºãã¾ãããã¡ãªã¿ã«ããã®æã¯ããã¾ãç¥ããã¦ããªã Vim ã®æ©è½ç´¹ä»ããunite.vim ã¦ã¼ã¶ã«å¯¾ãã ctrlp ã®ç´¹ä»ãã®ããã«å°ãã¬ãã«ã®é«ã話ã«ããäºå®ã§ããããã¨ãã¨ãããã 5 人ãããéã¾ãã°åå¼·ä¼ã®ä½ã¯ä¿ã¦ã¾ãããã¼ã¿ãããªè©±ãããã®ãè¦ãã¦ãã¾ãã
connpass ã¤ãã³ããç«ã¦ã
æ©éã20 人ãããã®ä¼å ´ãäºç´ã㦠connpass ã«ã¤ãã³ããç«ã¦ã¾ãããããã« 10 åç¨åº¦ã®åå è ãéã¾ã£ã¦ããã¼ãã¨æã£ã¦ãã¾ããããã®æã¯ãããã§ãå ¨ãäºæ³ãã¦ããªãèªä½ãèµ·ãã¾ããQiita ã®éå¬ãã Get Great Git #2 ãåæ¥å¥ä¼å ´ã§éå¬ãããã¨ã«ãªã£ãã®ã§ããVim 㨠Git ã§ã¯ããªãåå è 層ã被ãã¾ããæ£ç´ç¦ãã¾ããããããããªã㨠Git å´ã®éå¶ããä¼å ´ã¯ç¡æã§è¯ãã®ã§åæ¥åä¼å ´ã§é£çµãã¦éå¬ãã¾ãããã¨ããæ診ããsgur ããã¨ç¸è«ã㦠Get Great Git ã¨ä¸ç·ã«éå¬ãããã¨ã«æ±ºãã¾ããããã®å¾ Git ã¨ã®ç¸ä¹å¹æãããåå è ãã¿ãã¿ãå¢å ãæçµçã« 36 åã¾ã§éã¾ãã¾ãããã©ããã¦ãããªã£ã
ããã¦å½æ¥
åã¯ã ãããã®åå¼·ä¼ã«é å»ãã¦ãã¾ãã®ã常ãªã®ã§ããããããã«ä¸»å¬è ãªã®ã§éå ´ã®10ååã«ã¯çãã¦ãã¾ãããåããããã¦ãã¤ã調åã®æªãåã®ãã¼ã PC (7 å¹´åã®ãã¤) ãå½æ¥ã¯ç¹ã«åé¡ãªãããã¸ã§ã¯ã¿ã¨æ¥ç¶åºæ¥ã¾ããã以ä¸ãåçºè¡¨ã®ã¬ãã¼ã
- (åå¿è åã) Vim ã®æ©è½ç´¹ä»: åå è ã«å²ãã¨åå¿è ãå¤ããã¨ãã追å ããçºè¡¨ã§ããã«ã¼ã½ã«ç§»åãã dot ã³ãã³ãã®ä½¿ãæ¹ã¾ã§ããã£ã¨åå¿è åãã«æ©è½ç´¹ä»ããã¾ãããã»ã¨ãã© Vim ã触ã£ããã¨ããªããããªäººã主ãªã¿ã¼ã²ããã§ãããã ãåå¿è åãã ã¨ããç¨åº¦ Vim ã使ãããªãã¦ãã人ã«ã¯éå±ãã¨æã£ãã®ã§ãã¾ãç¥ããã¦ããªããã㪠Tip ãéæã«æã¿ã¾ãããå²ãã¨å½ããåã®å 容éãã¦éå±ãããã®ã§ã¯ã¨ããä¸å®ãããã¾ããããããªãã¨ããªãå²ãã¨ã¿ããªã«å¥½è©ã ã£ãã¿ããã§ããã£ãã§ããåçç¹ã¨ãã¦ã¯ãã¨ããããã:help ãå¼ããã¨è¨ã£ãå²ãã« :help ã®ä½¿ãæ¹ã¾ã§èª¬æãã¦ããªãã£ãã®ã§å¾ã§åå¿è ã®äººããã:help ãæã£ãã¯ããããæãåºããªããªã£ããã¨è¨ããã¦ãã¾ããã¡ãã£ã¨é æ ®ã足ããªãã£ãããªã¨æãã¾ããã
- Vim script 㨠vimrc ã®æ£ããæ¸ãæ¹: åãæ¬å½ã«åãããã£ããã¿ã§ããåããããªãã§ãããåå¿è ã®ãã¡ã¯äººã® vimrc ãã¯ã±ãåãããã³ãããã¦ä½¿ã£ã¦ãã人ãå¤ãããããªããã¨æã£ã¦ Vim script 㨠vimrc ã®æ¸ãæ¹ã«ã¤ãã¦èª¬æãã¾ãããå®ã¯ãVim script ã®èª¬æã®ã¨ãã㯠:help usr_41 ããããã¨ã¦ãåèã«ãã¦ãã¾ãããvimrc ã®æ¸ãæ¹ã¯ kana ããã®ãVim ã®æ¥µãæ¹ãã« vimrc èªæ¸ä¼ã§å¾ãããç¥èãã¡ãã£ã¨è¶³ããã ãã®å 容ã§ããVim ãããç¥ããªã人ã§ã Vim script ã®ç¬ç¹ã®ãã®æããç解ãã¦ããããã®ã§ã¯ãªããã¨æã£ã¦ãã¾ãããã¨ãçµãã£ãå¾ã«ããããªäººãããvimrc è¦ãªããã¦ã¿ã¾ããã¨è¨ããã¾ããããããèããã ãã§ãéå¬ããç²æããã£ããªã¨æãã¾ããã
- Vim plugin ã«ã¤ãã¦: sgur ããã®çºè¡¨ã§ããã¾ã Vim plugin ã®ä»çµã¿ã¨ã plugin 管çã®ä»çµã¿ããå§ã¾ããæå¾ã«ææ¶ã®ãã©ã°ã¤ã³ç´¹ä»ã¨ããæ§æã§ãããã¨ãã« Plugin ç´¹ä»ã®ã¨ããã¯ãããããã®ãã©ã°ã¤ã³ãä¸ã¤è¨ãã®ã§ã¯ãªãã競åãããã©ã°ã¤ã³ãå¹¾ã¤ãæ示ãã¤ã¤ããããã®ã¡ãªãã/ãã¡ãªããã説æãã¦ããã¨ãããã¨ã¦ãè¯ãã£ãã§ããåãç¥ããªããã©ã°ã¤ã³ããããããã£ã¦ã¨ã¦ãåå¼·ã«ãªãã¾ãããæéãããã¨ãã«ã§ãå ¬éããã¦ããè³æãè¦ãªãããã©ã°ã¤ã³ãè¦ãªããã¦ã¿ããã¨æãã¾ãã
ã¿ããªã§ vimrc ãæ¸ãã¦ã¿ãã: ãã£ãã vimrc ã®æ¸ãæ¹ã¨ããã©ã°ã¤ã³ç´¹ä»ã¨ããããã®ã§åå è ãèªç±ã« vimrc ãªããªããªããæ¸ãæéãè¨ãã¾ãããçµæ§ã¿ããªããããã¨ä½æ¥ãã¦ãã¾ããããã¼ããVim ã«ã¯ãããããããä½ãããããã§ãããããã¨ãä¸éå端㫠Vim 7.4 ã®æ å ±ãåºãã¦ãã¾ã£ãããã§ãVim ã®ãã«ããå§ãã人ãã¡ãã»ãã主å¬è ã¨ãã¦ã¯ããããã®ã¯ãã«ãããã vimrc ãæ¸ãã¦ãããããã£ãã®ã§ãããããä»ã«ããã¾ã質åãå¸ãä¸ããããªãã£ãããæ®æ®µãã¾ã交æµã®ãªã人ã¨ã³ãã¥ãã±ã¼ã·ã§ã³ã§ããªãã£ãã¨ãããåçç¹ã§ããã
ãã®å¾ã¯å¼ãç¶ã㦠Git ã®ã¤ãã³ãã¨æ親ä¼ãç¶ã: Nagoya.vim ãã¤ã¤ããªãçµäºããå¾ã¯äºå®éã Get Great Git #2 ãã¹ã¿ã¼ããã¾ãããNagoya.vim ã®åå è ããå¼ãç¶ãã¦åå ãã¦ãã人ã 7 å²ã»ã©ããã®ã§åæéå¬ã«ãã¦æ¬å½ã«è¯ãã£ãã§ãããã¨ã主å¬ã® Qiita ã®åã人ããæè¬ããã¾ããããããããããããã¡ããæè¬ããå´ãªã®ã«ãæ親ä¼ãããã¾ãããNagoya.vim ã®æ親ä¼ã§ã¯ãªãã®ã§ Vim ã®è©±ã°ããåºæ¥ãªãã£ãã®ã¯ã¡ãã£ã¨æ®å¿µã§ããã
KPT
- Keep
- Problem
- è³æä½ãã®ã大å¤ãããã次åã¯ãã£ã¨è² æ ãå°ãªãæ¹åã«ãããã
- åå è ã¨ãã¾ã交æµã§ããªãã£ã
- Try
- ãã£ã¨åå¤å±ã® Vim 使ãã¨ã®äº¤æµãã
- èªæ¸ä¼å½¢å¼ã¨ããããããããªã
- ããã«ã½ã³å½¢å¼ã¨ããããããããªã
ä»å¾ã¨ããNagoya.vim ããããããé¡ããã¾ãã