71 howm-mode.vim (2-38) ãã¬ãã¥ã¼ã¾ããã®ä»æ§å¤æ´
ãã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm_vim.patch.20080324
ä»åã®å¤æ´ã¯ããªãã·ã§ã³ã®åé¤ãåä½ã®å¤æ´ãªã©ãå ã ã® howm-mode.vim ããã®ä»æ§å¤æ´ãå«ãã§ããã¾ããä»åããã¯é å¸ãããã¡ã¤ã«åããã®é½åº¦å¤æ´ãããã¨èãã¦ããã¾ãã
å¤æ´ç¹ã®ä¸è¦§
- ã°ãã¼ãã«å¤æ° howm_autopreview, howm_instantpreview ãåé¤
- ã°ãã¼ãã«å¤æ° howm_auto_show_preview, howm_auto_hide_preview ã追å
- ã¡ãã¥ã¼ç»é¢, æ¤ç´¢çµæç»é¢ã§ P ( Shift+P ) ãæ¼ããã¨ã§ howm_auto_show_preview ãå¤æ´ãããã¨ãå¯è½ã«ãã
- ãã¬ãã¥ã¼ãéããå¾ãåä¸è¡ã§ãã¬ãã¥ã¼ãéããã¨ãã¦ãéããªãã£ãç¹ãä¿®æ£
- HowmCommand() ã® ShowPreview() ã§ã® typo ãä¿®æ£
- ã°ãã¼ãã«å¤æ° grepcmd, findcmd ã®æ¢å®å¤ãå¤æ´ ( ãã ããç¹ã«å¤æ´ãå ãã¦ããªãå ´åã¯ä»¥ååæ§ã«åä½è´ãã¾ã )
ã°ãã¼ãã«å¤æ°ã®å¤æ´ ( ã°ãã¼ãã«å¤æ° howm_auto_show_preview )
ä»åã®å¤æ´ã®ä¸å¿ã¯ãã°ãã¼ãã«å¤æ°ã®åé¤ã»è¿½å ã§ãããã¾ãã
howm_autopreview, howm_instantpreview ã¨ããåããã«ããå¤æ°ãåé¤ããããå®ç¨çãªã°ãã¼ãã«å¤æ° howm_auto_show_preview ã«çµ±ä¸è´ãã¾ããããã®ã°ãã¼ãã«å¤æ° howm_auto_show_preview ã¯ãèªåãã¬ãã¥ã¼ã®æå¹ã»ç¡å¹ãè¨å®ã§ãã¾ãã
以åã¯ãhowm_autopreview ãç, howm_instantpreview ãå½ããæ¢å®å¤ã§ããããã®å ´åãupdatetime ç§å¾ã«èªåã§ãã¬ãã¥ã¼ã表示ããã¾ããhowm_instantpreview ãçã§ãã£ãå ´å㯠updatetime ãå°ãããããã¨ã§ãããã«èªåã§ãã¬ãã¥ã¼ã表示ãããããã«ãã¦ããã¾ããããã® updatetime ç§å¾ã«èªåã§ãã¬ãã¥ã¼ã表示ãããã¨ããæ¢å®å¤ãå®ç¨çã§ã¯ãªãã¨å¤æãããèªåãã¬ãã¥ã¼ãç¡å¹ããæ¢å®å¤ã«ãªãããå¤æ´ãã¾ããã
howm_auto_show_preview ã¯ãèªåãã¬ãã¥ã¼ãæå¹ã«ããããã«ãã¬ãã¥ã¼ã表示ãã¾ããã¤ã¾ããhowm_auto_show_preview 㯠(howm_autopreview && howm_instantpreview) ã¨åçã§ãããããããæ¢å®å¤ããèªåãã¬ãã¥ã¼ãç¡å¹ãã表ãå½(0)ã§ãããã¨ããããã¾ãã
ãã¬ãã¥ã¼ã®ãã°ã«ã¨ã°ãã¼ãã«å¤æ° howm_auto_hide_preview
ãã¬ãã¥ã¼ã®ãã°ã«æ©è½ã追å è´ãã¾ãããããã¯æ¢ã«ãã¬ãã¥ã¼ã表示ããã¦ããéã« p ãæ¼ãã¨ãã¬ãã¥ã¼ãéããæ©è½ã§ãããªãããã®æ©è½ã¯ howm_auto_show_preview ãå½ã®ã¨ãã®ã¿æå¹ã§ãããªããªãã howm_auto_show_preview ãçã®ã¨ãããã¬ãã¥ã¼ãéãã¦ããã¾ãããã«è¡¨ç¤ºããã¦ãã¾ãããã§ãã
ç§ã¯èªåãã¬ãã¥ã¼ãæå¹ã«ãã¦ããã¾ãããå人ã¯èªåãã¬ãã¥ã¼ãç¡å¹ã«ã㦠howm ã使ç¨ãã¦ããã¾ããããã§ä½¿ç¨ããã®ãããã¬ãã¥ã¼ã®ãã°ã«æ©è½ã ããã§ãããã¡ãã¡ãã¬ãã¥ã¼ãéãã®ã§ã¯ãªããå¿ è¦ãªã¨ãã ãéããä¸è¦ã«ãªãã°ããéããã¨ããå©ç¨å½¢æ ã ããã§ãããã£ããã®å¤§å¹ å¤æ´ãªã®ã§ããã®æ©è½ãåãè¾¼ã¿ã¾ããã
ä¸åº¦ãã¬ãã¥ã¼ãéããããã®è¡ã§ããä¸åº¦ p ãæ¼ãã¾ããããã¨ããã¬ãã¥ã¼ãéãããã¾ãã
ãã®ãã¬ãã¥ã¼ãéããä½æ¥ãç°¡ç¥åãããã¨ããã®ããä»åãæ°ãã«è¿½å ãããããä¸ã¤ã®ã°ãã¼ãã«å¤æ° howm_auto_hide_preview ã§ãããã®å¤æ°ã¯çã®ã¨ããè¡ã移åããéã«ãã¬ãã¥ã¼ãéãã¾ããããã使ãã°ããã¡ãã¡ãã¬ãã¥ã¼ãéããæéãçããã¨æãã¾ãã
ã°ãã¼ãã«å¤æ° howm_auto_show_preview ã®ãã°ã«
æå¾ã«ã°ãã¼ãã«å¤æ° howm_auto_show_preview ã®ãã°ã«ã«ã¤ãã¦æ¸ããã¦ããã ãã¾ãã
ã¡ãã¥ã¼ç»é¢ãæ¤ç´¢çµæç»é¢ã«ãã㦠P ãæ¼ããã¨ã§ãhowm_auto_show_preview ã®çå½ãåãæ¿ãããã¨ãã§ãã¾ããèªåãã¬ãã¥ã¼ã®æå¹ã»ç¡å¹ãæ軽ã«åãæ¿ãããã¨ãå¯è½ã§ãã
æ¬æ¥ã®å¤æ´ã¯ä»¥ä¸ã§ããæ¬èªã¨ãç¡çã¹ãã©ããã¦ãä¸å¯§èªãããã¤ãæ¬èªãæ··ãã£ã¦ãã¾ããèåã¿ããã ãæ £ããªããªãæ £ããã¨ããæ £ããåã«ç¡å£ã«ãªãããã ã