vim
expand()ã®flagã§':p'ãæå®ããã®ã¨ãfnamemodify()ã®modsã§':p'ãæå®ããã®ã§ã¯åä½ãç°ãªã expand('%', ':p') 㨠expand('%:p') ã§ã¯åä½ãç°ãªã Vimã®æä½ä½ç³»ã¯ãããã好ããªãã ãããã以å¤ã®é¨åã¯ããªãå«ãã¨ãã£ã¦ãã nr2char()ã¯ã©ããã¦ç¾â¦
http://d.hatena.ne.jp/ns9tks/20080601/1212335835id:ns9tks çµç±ã§ãé¸æãããããã¹ãã®åå¾ããããé¢æ°ãè¦ããé¸æãããããã¹ãã®åå¾ - vimã°ã«ã¼ã質åãããã®ã ãã©ãã©ãã®èª°ã«èãã¦ããã®ãåãããªãã®ã§ã¨ã³ããªæ¸ããããã£ã¦ 'selectionâ¦
id:ka-nachtã®ã³ã¡ã³ãã©ãããè²ã 試ããã¨ãããæå¾ éããåä½ãããã¨ãããã£ããè«å¤ãªãã ãããã©ã'selection'ã«å½±é¿ãããåä½ãæå¾ éããã£ã¦ã®ãèªåã®ä¸ã«ãªãã£ããå½±é¿ããã¦ããã®ããå½±é¿ãããããªããªããããä¸ã¤é¢æ°ã§ãæ¸ãã¦'selectâ¦
http://d.hatena.ne.jp/eclipse-a/20080612/1213240781æ¥ãããããã¨è¨ã£ã¡ãã£ãã¼ãhttp://d.hatena.ne.jp/janus_wel/20080521/1213598427 ããã®id:ka-nachtã®ã³ã¡ã³ãã ã©ããã¦æ°å確èªã«æ£è¦è¡¨ç¾ã使ããªãã®ã > a:delta !~ â^[+-]\?\d\+$â type(a:â¦
Unicodeã³ã¼ããã¤ã³ã(JavaScriptã§\uXXXXã¿ãããªå½¢ã§ä½¿ãã¢ã¬)ãç°¡åã«åå¾ããããªã¨æã£ã¦ãé¢æ°ãä½ã£ã¦ã¿ããiconv()ã使ã£ã¦ã'ucs-2'ã«ã§ãããã°ããããã¨æã£ããã©ããªããUTF-8ã®ãã¤ãåã帰ã£ã¦ããã®ã§ããããªé¢æ°ãä½ããã¨ã«ãªã£ãããªâ¦
ãã¡ã¤ã«ã¿ã¤ããã©ã°ã¤ã³ãæ¸ããã¨ã§Vimã¹ã¯ãªãããåå¼·ãã¦ããã詳細ã¯ã¾ããã®ãã¡æ¸ãã¤ãããä»æ¸ãã¦ãããã¡ã¤ã«ã¿ã¤ããã©ã°ã¤ã³ã¯ã¡ã¢ç¨ã®ãã®ã俺ç¨ã®ã¡ã¢ãã¡ã¤ã«ã¿ã¤ããªã®ã§ omemo ã¨ãã¦ãããä»®ã ãã©ãä¸èº«ã¯ã¨ããã°ãhowmãã®ã¾ã¾ãURLâ¦
ã㨠vim script åå¼·ããã®ã« id:eclipse-a ( http://d.hatena.ne.jp/eclipse-a/archive?word=%2a%5bvim%5d ) ã«ãä¸è©±ã«ãªã£ãã TabShift.vim - KBDAHOLIC - ãã¬ãããã¨ã ããã¾ããçããã«è¯ããã¨ãæ¸ããè¦ãã¯ãªããã©ãããä¸è©±ã«ãªã£ãããªãã¦â¦
Vimballã¯ã¦ã¼ã¶ã«ã¨ã£ã¦ã¯å²ã¨ä½¿ãããããã ãã©ãéçºè ã«ã¯ã©ãããªãã¨æãããªãã£ã¦ãããã±ã¼ã¸ã®ä½æããã«ãããããã¦ã¼ã¶ãªã*.vbaãéã㦠:so % ã§ã¤ã³ã¹ãã¼ã«ã:RmVimball *.vba ã§ã¢ã³ã¤ã³ã¹ãã¼ã«ãããã ããªã®ã§ãå²ã¨ä½¿ããããã¨æãâ¦
ãã¯ã£ãããã£ã¦èªå·±æºè¶³ãã§æå(?)㪠presentation.vim ãä»åã®ã¹ã¯ãªããã¯ãããhttp://d.hatena.ne.jp/maedana/20080529/1212059765presentation.vim ã®æ´æ°ã¯æ¥½ãã¿ã«ãã¦ããã ãã©ãææ¥ã®çºè¡¨ã§ä½¿ãããã次ãå¾ ã¦ãªãï¼ã¨ããããã§ãã¨ããããâ¦
ãã¦ã³ãã¼ãURL: http://khkh.o0o0.jp/vim/howm_vim.patch.20080416 ãã¼ã¯ã¼ããã¡ã¤ã«ã®åæ§ç¯ãæ£å¸¸åä½ããªããã°ãä¿®æ£ åå追å ããã°ãã¼ãã«å¤æ° howm_wildignore ã«ãããã°ããã¼ã¯ã¼ãã¾ããã«ãã£ãããã¼ã¯ã¼ããã¡ã¤ã«ãåæ§ç¯ããéã«ãhowmâ¦
ãã¦ã³ãã¼ã ã¯ããã«ãã¦ã³ãã¼ãã®ããã®URL http://khkh.o0o0.jp/vim/howm_vim.patch.20080414 æ¬ é¥ãæ¤ç´¢é度ã®ä½ä¸ã howm-mode.vim ã«ã¯ããã¤ã®ãã®æ¬ é¥ãããããã®ä¸ã¤ãæ¤ç´¢é度ã®ä½ä¸ã§ãããä»åã¯ããã®æ¤ç´¢é度ã®ä½ä¸ã«å¯¾å¦ãããã¨æããhowâ¦
è¾æ¸å¼ããã©ã°ã¤ã³ dicwin2.vim ã®è©±é¡ããã¡ã¢ããªããã§æ¤ç´¢ããã¨åãããã ãã©ããããããªããã£ã¦çµæã«ãªããã¨ãã¾ã¾ãã£ããé¢é£é ç®ã¨ãã®URLã¸é£ã¹ãããã«ãããã¨ã§ã«ãã¼ãããã¨ã«ããã function! s:YahooKokugo(html) let s = iconv(a:htâ¦
howm-mode.vim çããããé©ç¨çã§ãã¯ã¦ãªãã¤ã¢ãªã¼ã® isbn/asin è¨æ³ã«å¯¾å¿ããããã®è¨å®ã¹ã¯ãªãããhowm-actionlock-isbn.vimããå ¬éãã¾ããããã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm-actionlock-isbn.vim æ¦è¦ howm-mode.vim çããããé©ç¨çâ¦
æ¨æ¥ãä¸æ¨æ¥ãããããæ¸ãã¦ãããè¾æ¸å¼ããã©ã°ã¤ã³ããpedit ã§è¡¨ç¤ºããããã«ããã®ããä»æ¥ã®ä¸»ãªå¤æ´ç¹ã substitute() ã® \= ã¯ä¾¿å© alice.vim ã® AL_urlencode() ãåèã«ä¿®æ£ãã¦ã¿ããAL_urlencode() ããå¦ãã ä¸çªå¤§ãããã¨ã \= ã ã substiâ¦
è¾æ¸å¼ããã©ã°ã¤ã³ä½æã®ã話ãæãããªååãæãæµ®ãã°ãªãã®ã§ã²ã¨ã¾ã dicwin2.vim ã¨ãã¦ããã æ¨æ¥ã¯ããã ( AL_urlencode() ) æ¨æ¥ãããããå½ç¶ã®ããã« encodeURI, encodeURIComponent ãæ¸ãããã ãã©ãããããè¦ã¦ã¿ã㨠alice.vim ã® AL_uâ¦
è¾æ¸å¼ãã¹ã¯ãªãã dicwin.vim ãè¯ãã£ãã®ã§ãèªåã§ãä¼¼ããããªã®ãä½ããããªã£ããã¾ãã¯è¾æ¸ã®å ãã¼ã¿ãå¿ è¦ãªã®ã ããæãããªã®ãè¦ã¤ãããªããä»æ¹ããªãã®ã§ã¦ã§ãã«ã¢ã¯ã»ã¹ãã¦åå¾ãããã¨ã«ããããã£ãããªã®ã§ãalice.vim ãæ´»ç¨ããã â¦
ãã¦ã³ãã¼ãURL: http://khkh.o0o0.jp/vim/howm_vim.patch.20080329ä¿®æ£ç¹ã¯ä»¥ä¸ howm_auto_show_preview ãOFFã®å ´åã«èªåãã¬ãã¥ã¼ã®åãæ¿ããé«éã«åä½(updatetime=1)ããªãã®ãä¿®æ£ ãã¬ãã¥ã¼ã®å é è¡ã空è¡ã«ãªãã®ãä¿®æ£ æ¥ä»ä¸ã§ã® action-lockâ¦
Windows ç°å¢ã§ grep ã使ãããå ´åãcygwin ã® grep ã使ããã®ã¨åæã«æãããã§ãããã ãããä»åã®ã³ã¡ã³ãã¯ã¡ãã£ã¨ããé©ãã ã£ãã ã³ã¡ã³ã: http://d.hatena.ne.jp/eclipse-a/20080323/1206244800#c1206258022 GnuWin32 Packagesã®grepã試ãã¦â¦
ãã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm_vim.patch.20080325ä»æ¥ã®ä¿®æ£ç¹ ãªãã¼ãæ©è½ã®å®è£ ( ã¡ãã¥ã¼ç»é¢ãæ¤ç´¢çµæç»é¢ã§ r ) ã¡ãã¥ã¼ããã¾ãéãããªãã£ãã®ãä¿®æ£ ç¹ã«é¢ç½ã¿ãªããgrep ã«ã¤ãã¦æ¸ãããã¨æã£ã¦ããã㨠ns9tks ããã® fold â¦
ãã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm_vim.patch.20080324ä»åã®å¤æ´ã¯ããªãã·ã§ã³ã®åé¤ãåä½ã®å¤æ´ãªã©ãå ã ã® howm-mode.vim ããã®ä»æ§å¤æ´ãå«ãã§ããã¾ããä»åããã¯é å¸ãããã¡ã¤ã«åããã®é½åº¦å¤æ´ãããã¨èãã¦ããã¾ããå¤æ´ç¹ã®ä¸â¦
ãã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm_vim.patchã¾ãä¾ã«ãã£ã¦ howm-mode.vim ã®ä¿®æ£ã¨ããä»æ¥ã®ä¿®æ£ç¹ã¯ä»¥ä¸ã ã¦ã£ã³ãã¦ã®è¡¨ç¤ºä½ç½®ãåºå®ãããããã«ãã ã¡ãã¥ã¼ããèªåãã¬ãã¥ã¼ãå¯è½ã«ãã ã¡ã¢ä¸è¦§ãåä½ãã¦ããªãã£ãã®ãä¿®æ£ãã ãâ¦
ä¾ã«ãã£ã¦ howm-mode.vim ã®æ´æ°ãã¡ãã¥ã¼ã®å®è£ ã«ã¤ãã¦ã¨ãæ¨æ¥å ¬éãããããã®ä¸ã«å«ã¾ãã¦ããæªéç¥ã®ä¿®æ£ç¹ã®å ±åãã¾ãã¯ãä¿®æ£ç¹ä¸è¦§ããããããªãã£ããå ã«ãã¦ã³ãã¼ãURLããã¦ã³ãã¼ã: http://khkh.o0o0.jp/vim/howm_vim.patch ä¿®æ£ç¹ä¸è¦§â¦
ã½ããã¦ã§ã¢æ¿ã® Vim Part2 ã«çãã®ãã¨ãæ¸ãè¾¼ãã 人ãè¦ã¤ããã®ã§ãè¿ä¿¡ã 519 From:åç¡ãããï¼ ãè ¹ãã£ã±ãã Date:2008/03/03(æ) 22:02:33 ID:5VvjlgmN0 Mail:sage ããµããçã ã§ããã¦ãcalendar.vimã¨howm-mode.vimã¨ã®é£æºããã¾ãåããªãâ¦
ãã§ã¯ããã¡ãã«30åç ®è¾¼ãã ãã®ãããã¨ãããã¨ã§ããããªãã ãã© HowmDateTime2Int() ãä½ã£ãã以åããã¼ãã¼ãè¨ã£ã¦ãæååããæ¥ä»ãããããæ°å¤ã¸ã®å¤æãã¿ã¤ã ã¾ã¼ã³ã¾ããã¨ãããªãé©å½ãhowm_timezone_hour, howm_timezone_min ã§ã¿ã¤ã â¦
人ã®ã¨ã³ããªã«ä¹±å ¥ãã¦ã¿ããhttp://d.hatena.ne.jp/akio0911/20080319/1205916091 人ã®ã¨ã³ããªã«åæã«è¿½è¨ % ã¯ãã¡ã¤ã«å ¨ä½ããã㯠1,$ ã¨åãã詳ããã¯ãã«ãåç §ã :h cmdline-ranges :h :range ã¨ããããã§ãä¸ã®äºã¤ã¯åããã³ãã³ãå®è¡æã®ç¯â¦
ã¯ããã« :h strftime() ç°¡åãªä½¿ãæ¹ã¨ãµã³ã㫠第ä¸å¼æ°ã¯ format, çç¥å¯è½ãªç¬¬äºå¼æ°ã¯ time ãtime ãçç¥ãããå ´åã¯ãç¾å¨æå»ã使ç¨ããããtime ã«ã¯ localtime() ã§åå¾ããæ°å¤(1970å¹´1æ1æ¥ããã®ç§æ°)ã渡ããã¨ãå¤ãã :let time = localtimâ¦
åé¡ã¨ãã®ä¿®æ£ ä¸æ¥ãããã¨ããããã¤ã©ã¤ããã¦ã»ããã ããªã®ã«ããã¡ãã¡æ¤ç´¢ããããã²ã©ãæéãããããããã¯å«ã ããã¡ãã¡æ¤ç´¢ããªããã®ã§ã¯ãªããæ¢ã« howm ã®æ¤ç´¢çªãåºã¦ããå ´åã«ã¯ãã«ã¼ã½ã«ç§»åã¨ãã¤ã©ã¤ãã®ã¿ãè¡ãããã«ããã æ°ãâ¦
howm ã§ä¸æ¥ä¸ãã¡ã¤ã«ã試ãã¦ããããã¯ããã§ãããããããªããã¡ã¢åºåã(è¦åºã)ãéè¦ã ã¨ããã£ããä»ã¾ã§ã¯ãäºå®ãå®äºã«ããæã¨ãã追è¨ããæã¯ãã¾ãè¦åºããã¤ããªããã¨ããã£ããã©ãä¸ãã¡ã¤ã«ã«ãªãã¨ããããããããããªä½¿ãæ¹ãã§ããªâ¦
äºå®ãTODOã§è¡¨ç¤ºãããå®äºæ¸ã¿ã®ãã®ã®è¡¨ç¤ºé表示ãåãæ¿ããã°ãã¼ãã«å¤æ° howm_ignore_done ã追å ããã silent! nmap <silent> <unique> <Leader>,y \ :let g:howm_ignore_done=1<CR><Plug>HOWM_ShowSchedule silent! nmap <silent> <unique> <Leader>,Y \ :let g:howm_ignore_done=0<CR><Plug>HOWM_ShowSchedule ãããªé¢¨</plug></cr></leader></unique></silent></plug></cr></leader></unique></silent>â¦
migemo() ã¯ã©ããæ¥æ¬èªãå ¥åããã¨ããããªåºåããããã¨ãããã¿ãããä¸è¨ã®ãããªæåã§åºåãçãã migemo('鬼ç¥') 鬼ããããªãã¿ãããæåã³ã¼ãã®é¢ä¿ããªãã©ãã«åå ãããã®ãã詳ããã¯ããããªãããå°ãªãã¨ã migemo() ã«æ¥æ¬èªãå ¥åãâ¦