vimshellã¨ã¯ï¼ vimshellã¯Vimããã·ã§ã«ãèµ·åããVimScriptã ãã èµ·åããã ããªã:!ã³ãã³ãã§ã足ãããã©ããã¡ãã¯éåæã«å¦çã§ããªãã®ã§ãå®è¡ä¸ã¯Vimã§ã³ã¼ããæ¸ããªãã¨ãæ¬ ç¹ãå¤ãã vimshellãªãéåæãªã·ã§ã«ã使ããããè²åãã»è£å®ãããã ã¤ã³ã¿ããªã¿ãç«ã¡ä¸ããã°ãã³ã¼ããæ¸ãã¤ã¤è©ä¾¡ããããã¨ãã§ããããEmacsã¿ããã«ãï¼ ã¤ã³ã¹ãã¼ã« http://github.com/Shougo/vimshell ããã½ã¼ã¹ããã¦ã³ãã¼ãã 解åãããã¡ã¤ã«ã~/.vim以ä¸ã«ä¿åã ãã¨åä½è ããã®vimprocãå¿ è¦ãªã®ã§ https://github.com/Shougo/vimproc ããã½ã¼ã¹ããã¦ã³ãã¼ãã ãã¡ãã¯~/.vim以ä¸ã«ä¿åããã ãã§ã¯ãã¡ã§ãLinuxã§ã¯ã³ã³ãã¤ã«ããå¿ è¦ãããã Linuxã§ã¯ã次ã®ã³ãã³ãã
æè¿ã¯å°ã Vim script åããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ themis.vim ãä½ã£ã¦ããããã§ããããã¹ããæ¸ãããå½ç¶å®è¡ããªãã¨æå³ããªãããã§ãã ãããæåã§ãã¹ãããã®ã¯é¢åããã㧠CIãè¨å®ãã¦ããã°ãªã¢ã¼ãã®ãªãã¸ããªã« push ããæã«èªåã§ãã¹ããèµ°ããã¦ããã¾ãã Linux ç°å¢ç¨ã® CI ãµã¼ãã¹ã¯ããããããã®ã§ãTravis CI ãªã drone.io ãªãèªç±ã«ä½¿ãã°è¯ãã¨æãã¾ãã便å©ã ããã Vim ã¯ãã«ããã©ãããã©ã¼ã ãå½ç¶ Windows ç°å¢ã§ããã¹ããããã§ããããã¨è¨ããã㧠Windows ç°å¢ã§ CI ã§ãããµã¼ãã¹ã¨ããã㧠themis.vim ã使ã£ã¦ãã¹ããèµ°ãããè¨å®ä¾ãç´¹ä»ãã¾ããå ¨é¨ç¡æã§ã§ãã¾ãã ã¨è¨ããã㧠CI ãµã¼ãã¹ AppVeyor ã使ãã¾ãã Continuous Integration
åã¯Windowsãç¨ããå ´åï¼KaoriYaã®gvimã¨ï¼Cygwinã®vimãç¨ãã¦ããï¼ ããã¦ï¼Cygwinã®gitãå©ç¨ãã¦ããï¼ Cygwinã§ããã°ï¼æ°è¦ã«ä½æããããã¡ã¤ã«ã®ãã¼ããã·ã§ã³ã¯644ã§ãããï¼Windowsã ã¨ãã¼ããã·ã§ã³ã700ã¨ãªãã®ãæ°ã«ãããªãã£ãï¼ ã¨ããã®ãï¼gitã¯ãã¡ã¤ã«ã®ãã¼ããã·ã§ã³ãå«ãã¦ç®¡çãããï¼GitHubä¸ã§ã¯å®è¡å¯è½ãªããã¹ããã¡ã¤ã«çï¼ä¾ãã°LICENSEï¼ã¯ï¼ã·ã§ã«ã¹ã¯ãªããã®ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ããé©ç¨ãããããã ï¼ ç¡æå³ãªå®è¡æ¨©éã®ä»ä¸ã¯é¿ãããã®ã§ï¼Windowsç°å¢ã§Vimã§æ°è¦ãã¡ã¤ã«ãä½æããã¨ãã«ï¼Cygwinçã®chmodãå¼ã³åºãï¼ãã¡ã¤ã«ã®ãã¼ããã·ã§ã³ãå¤æ´ããå¦çãå ãããã¨ã«ããï¼ ãã ãï¼ãã¡ã¤ã«å é ãshebangè¡ã§ãããªãã°ï¼ãã¼ããã·ã§ã³ã755ã«ããï¼ function! s:sys
èæ¯ æè¿ã®Webãµã¤ãã§ã¯OSã®ãã¼ã¯ã¢ã¼ãè¨å®ããã®ã¾ã¾åæ ãã¦ãããã®ãããï¼ åã¯æ®æ®µããOSã®è¨å®ããã¼ã¯ã¢ã¼ãã«ãã¦ããã®ã§ï¼previmã§ãã¼ã¯ã¢ã¼ã対å¿ãè¡ããã¨ãèããï¼ ã㢠以ä¸ã®ããã«ãªã£ãï¼ ãã¼ã¯ã¢ã¼ãã¨ã©ã¤ãã¢ã¼ãã®åãæ¿ãã示ãã¦ããï¼ Previmãã¼ã¯ã¢ã¼ãã®ã㢠å®è£ æ¹é å®è£ æ¹éã¨ãã¦ã¯ä¸è¨ã®ããã«ããï¼ æ¬ä½ã¯ããããã«ã¹ã¿ã CSSã¨ã¢ããªã³ã®ã¿ã§å¯¾å¿ãã ãã¼ã¯ã¢ã¼ãã¨ã©ã¤ãã¢ã¼ããåãæ¿ãå¯è½ã«ãã ãã®ããï¼ã¡ãã£ã¢ã¯ã¨ãªãç¨ããCSSã ãã§ã®å¯¾å¿ã¯ä¸å¯ æ¹æ³ã¨ãã¦ã¯ãã¬ãã¥ã¼ä¸ã«ãã¿ã³è¿½å ãã¯ã¨ãªãã©ã¡ã¼ã¿ã§ã¯ãªãï¼éçºè ã¢ã¼ãã§ã®é¢æ°å¼ã³åºãã§ãã applyLightTheme() ã§ã©ã¤ãã¢ã¼ãã«ï¼ applyDarkThene() ã§ãã¼ã¯ã¢ã¼ãã« å®è£ ã«ã¹ã¿ã CSS ã©ã¤ãã¢ã¼ãï¼ãã¼ã¯ã¢ã¼ãç¨ã®è²ã¯CSSå¤æ°ãç¨ãã¦ç®¡çããï¼
autocmdã®ã³ãã³ããéå§ãã¾ãã BufNewFileã¨ããã¿ã¤ãã³ã°ã§ãã®ã³ãã³ããå®è¡ãã¾ãã å ¨ã¦ã®ãããã¡ã§echo 'This is new file'ãå®è¡ãã¾ãã ã¨ãªãã¾ãã ãã®ããã«ãä¿åæãæ°è¦ã®ãã¡ã¤ã«ã¨ãã£ãã¿ã¤ãã³ã°ã§ã³ãã³ããå®è¡ã§ãã¾ãã ã§ã¯ãaugroupã¯ãªãã®ããã«åå¨ããã®ï¼ augroupã¯ãautocmdãã°ã«ã¼ãã§ã¾ã¨ããããã®ã³ãã³ãã§ãããããªæãã¦ä½¿ããã¾ãã
æ¬è¨äºã¯ Vim Advent Calendar 2013 ã® 20 æ¥ç®ã®è¨äºã§ãã 19 æ¥ç®ã¯ @orga_chem ããã«ãããvim-splashã使ãåãã¦ããçã®Vimmerã§ãã ã§ããã@orga_chem ãã㯠VAC2013 ã®ãããçµµãæ¸ããã¦ãã¾ããç´ æµã§ããããVimgirl ããããã æè¿å··ã§åã® vimrc èªæ¸ä¼ ã§ããããã®æä¸ã«ããææãããäºæã¨ãã¦ãautocmd ã«ä»éãã augroup ã®å®ç¾©ããªããã¨ãããã®ãããã¾ãã autocmd ã¯ä¾¿å©ãã¤å¤ç¨ããã¾ããããã®è£ã§æ°ã¥ããã«ããã»ç¥ããã«ãããã®ä»¶ã«ã¤ãã¦ä»åã¯è¨äºãæ¸ãã¦ã¿ã¾ãã autocmd ã®æ¦è¦ autocmd 㯠Vim ã§æå®ããã¤ãã³ããèµ·ããéã«èªåçã«å®è¡ããã³ãã³ããæå®ããã³ãã³ãã§ãã
4/29 ã«Vimåå¼·ä¼#7ãéå¬ãã¾ããã @thincaããã¨@kana1ããã®ä¸è¨ Vim script ãç´¹ä»ãã¾ããã ref quickrun smartchr submode installã«ã¤ã㦠shell㧠cd mkdir projects cd projects git clone http://github.com/thinca/vim-ref.git git clone http://github.com/thinca/vim-quickrun.git git clone http://github.com/kana/vim-submode.git git clone http://github.com/kana/vim-smartchr.git Vim㧠:helptags ~/projects/vim-ref/doc :helptags ~/projects
vim, ç¹ã«vim7ã®undoã«é¢ãã¦å¾©ç¿ããã®ã§ã¡ã¢ãundo/redo ã§å®å¿å¿«é© happy viming. undo ã®åºç¤ vimã§ã¯ããã©ã«ã§ç¡éundoã使ãã¾ããä½ãèããªãã¦ã以ä¸ã®ã³ãã³ãã§èªç±èªå¨ã«ç·¨éå±¥æ´ãè¡ãæ¥ãããã¨ãã§ãã¾ãã u ã¢ã³ãã¥(undo) Ctrl+r ãªãã¥(redao) æ¿å ¥ã¢ã¼ãã«å ¥ã£ã¦ããæããã¾ã§ãä¸ã¤ã®æ´æ°ã¨è¦ãªããããããé·ãæç« ãæã£ããããå ´åã«ã¯ããã®ããã¨ããã§ä¸æ¦ç·¨éã¢ã¼ãï¼ãã¼ãã«ã¢ã¼ãï¼ã«æãããã¨å±¥æ´ã管çããããããããã¾ããã undo branch é常ã®ç¡éundoã ãã§åé¡ãªãããã«ãæãã¾ããããã¾ã«å°ããã¨ãããã¾ããä¾ãã°ãããæç« ãã³ã¼ããæ¸ãã¦ãã¦éä¸undoã§ããã¤ãå±¥æ´ãæ»ãä¿®æ£ãã¦ãããã®ã®ãããèããã¨ãã£ãã¾ã§æ¸ãã¦ãããã®ã®ã»ããè¯ãã£ãã®ã§ãã£ã¡ã«æ»ããããã¿ãããªå ´åã§ãã vi
Recent entries 宣ä¼ï¼C/C++ã®ããã®éçºè£å©ãã¼ã«ãGCCSenseããªãªã¼ã¹ãã¾ãã matsuyama 2010-04-15 宣ä¼ï¼Rubyã®ããã®éçºè£å©ãã¼ã«ãRSenseããªãªã¼ã¹ãã¾ãã matsuyama 2010-03-21 Emacsã¯æ»ãã matsuyama 2010-02-22 Webã¢ããªã±ã¼ã·ã§ã³ãiPhoneã«å¯¾å¿ãããããã®æè¡ã¡ã¢ matsuyama 2009-10-13 tokyo-emacs#x02ã®å人çã¬ãã¼ã matsuyama 2009-09-07 Recent comments replica louis vuitton Anonymous User 2010-12-22 Re:ããã¹ãå ¥åä¸ã«è£å®åè£ãèªåçã«è¡¨ç¤ºãã¦ããã auto-complete.el ããªãªã¼ã¹ãã¾ãã Anonymous User 2010-12
Emacs ã® CSV ç¨ã¡ã¸ã£ã¼ã¢ã¼ããã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãã ãã§ãªãã CSV ç·¨éã«ä¾¿å©ãªæ©è½ãããã¤ããããããã¥ã¢ã«ãèªãã§ã使ãæ¹ãããããããªãã£ãããä½åº¦ã試ãã¦ç解ã§ããã ç¹ã« csv-kill-fields ã¯æåããããCSV ãã¡ã¤ã«ã®ç¹å®ã®åã®ãã¼ã¿ã ãæãåºããããã¨ãããã¨ã¯ããããããã¤ã AWK ã§ããã°ããã Excel/Open Office çãçµç±ããããã¯ãã¾ã Perl/Ruby ã®ã¯ã³ã©ã¤ãã¼ã§ãã£ã¤ãããããªã©å¤å°ã®æéãããã¦ãã¾ã£ã¦ããã C-c C-k ã®ãã£ã¼ã«ãæå®ã¯ "1 2" ã¨ã "1,3" ã¨ã "1-3" ã¨å ¥åããããã¤ãã³å ¥ãã®ã¨ãã ã range æå®æ±ãã ç¹å®ã®åã ãæ¶ãããã¨ã㯠C-c C-k ã§ãéã«ç¹å®ã®åã ãåãåºãããã¨ã㯠C-c C-k ã®ã㨠C-c C-z ã§è²¼ãä»ããã°ããã C-c
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}