Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
vimã使ã£ã¦ããã£ãããåæ°ä»¥ä¸ã¯éçºè ã®æ¹ãã¨æãã¾ãã ä»æ¥ã¯ããããªéçºè ã®æ¹ã«ä¾¿å©ãªtipsããç´¹ä»ã Makefileç·¨éä¸ã®ãã¡ã¤ã«åè£å® ä¸è¬çãªãã¡ã¤ã«ã·ã¹ãã ã§ã¯ããã¡ã¤ã«åã«ã=ãã¨ããæåã使ããã¨ãåºæ¥ã¾ãããã ãå®éã«ä½¿ã£ã¦ãããã©ããã¨ããã°ããã£ãã«ä½¿ãããäºã¯ããã¾ããããªã®ã« TOP_DIR=/usr/inc ã¾ã§æã£ã¦<c-x><c-f>ã¨ã¿ã¤ããã¦ããã¡ã¤ã«åãè£å®ãããªãã®ã¯ãæ²ããã£ãããã¾ãã ãããªã¨ãã«ã¯ä»¥ä¸ã®è¨å®ãvimrcã«å ¥ãã¦ããã¨ä¾¿å©ã§ãã autocmd FileType Makefile setlocal isfname-== isfname+=32 é常ããã©ã«ãåããã¡ã¤ã«åã«ã=ããã¹ãã¼ã¹ã使ãäºã¯ã¾ãããã¾ãããã*unixç³»ã®éçºãçµé¨ãããäºãããæ¹ãªãã°ãã¹ãã¼ã¹ãæ··ãã£ã¦ãã¾ãäºã¯ä¸å¤§äºã«ãªãäºããåç¥ãã¨æ
ãã®è¨äºã¯Vim Advent Calendar 2012 : ATND 348æ¥ç®ã®è¨äºã«ãªãã¾ãã æ¨æ¥ã¯@manga_osyoããã®quickrun.vim ã§ãªã¢ã«ã¿ã¤ã ã«åºåãè¡ãå ´åã®æ³¨æã§ããã ä»åã¯&errorformatã«ã¤ãã¦èª¬æãããã¨æãã¾ãã ãã®è¨äºã§ã¯&errorformatãã©ããããµãã«è¨å®ããã°ããã®ãã説æããã¤ããã§ãã &errorformatãã©ããªæã«ä½¿ããããå ¨ãæ¤è¨ã®ã¤ããªãæ¹ã¯Quickfixã:makeã«ã¤ã㦠調ã¹ã¦ããèªããã¨ããããããã¾ãã ã¾ããããã§èª¬æãããã¨ã¯:help error-file-formatã«ãã¹ã¦è¼ã£ã¦ãã¾ãã åæºå &errorformatãããããã¨è©¦ãã¦ã¿ãã«ããããã¾ãã¯&errorformatã®ãã¹ãç°å¢ãã¾ãä½ãã¾ãããã function! TestErrFmt(errfmt,lines
haya14busa/incsearch.vim incsearch.vim ã«ã¤ãã¦ç¥ããªãããã¯ãã¡ãã®è¨äºãåç §ãã¦ãã ããï¼ ç°¡åã«è¨ãã°Vimã®ã¤ã³ã¯ãªã¡ã³ã¿ã«æ¤ç´¢ãã«ã¤ã¼ã³ãããã©ã°ã¤ã³ã§ãï¼ -> incsearch.vimã§Vimã®æ¤ç´¢ä½é¨ããªããã«ãã - haya14busa incsearch.vim v2.0 ããªãªã¼ã¹ãã! v0.9, v1.0, v1.1, v1.2, ⦠ã¨ããã¾ã§ incsearch.vim ãã¤ã³ã¯ãªã¡ã³ã¿ã«ã«ã«ã¤ã¼ã³ã«ã«ã¤ã¼ã³ãéãã¦ãã¾ãã⦠ããã¦æ¬æ¥ï¼ incsearch.vim ã¯æ´ãã¦ä¸æ®µéé²åãï¼ ãã¼ã¸ã§ã³2.0 ã¨ãªãã¾ãã! ãã®é²åãä¸è¨ã§è¨ãã°ï¼incsearch.vim ã¯ãã£ã¨ãã£ã¨ Vim ã®æ¤ç´¢ã便å©ã«ãã¹ã é²åã»æ¡å¼µå¯è½ ã«ãªãã¾ããï¼ 2.0ã§ä½ãã§ããããã«ãªã£ãã? ç¾èã¯ä¸è¦ã«å¦ããï¼ä»¥ä¸ã®gi
TypeScript 1.5.0-alpha TypeScript 1.5.0-alphaããªãªã¼ã¹ããã¾ããã! TypeScriptã®1.5ã§ã¯, ES6対å¿ã, Annotation(Decorator)çã®è¨èªã®å¯¾å¿ã ãã§ãªã, TSServerã¨ããã¨ãã£ã¿åããã¼ã«ãå«ã¾ãã¦ãã¾ã. TSServerã¯, ã³ã³ãã¤ã«ããªãã¡ã¯ã¿ãªã³ã°ãªã©ãã¨ãã£ã¿ã«å¿ è¦ãªæ©è½ãæä¾ããServerã§ã. æ¨æºå ¥åºåãä»ãã¦, ã¨ãã£ã¿ã«æ§ã ãªæ å ±ãæä¾ãã¦ãããåªããã®ã§ã. MicroSoftãæä¾ãã¦ããSublime Textã®Pluginã, ãã®TSServerã使ã£ã¦å®è£ ããã¦ãã¾ã. TSServerã®ä½¿ãæ¹çã«ã¤ãã¦ã¯, å¥éã¨ã³ããªãèµ·ãããã®ã§, ãããã°åèã«ãã¦ãã ãã. TSServerã¨Vim plugin ã¨ã¯ãããåã¯Vim使ããæ®å¿µãªãã¨ã«, MicroSof
Windowsä¸ã§gvimã使ãæé ãåå¿é²ã¾ã¨ãããWindowsã«ä¾åããç®æ以å¤ã¯ãLinux, Macã§ãåæ§ã®æé ã§åé¡ãªãã¯ãã(æªç¢ºèª) neobundleã®ã¤ã³ã¹ãã¼ã«ãã«ã©ã¼ã¹ãã¼ãã®è¨å®ãvimrcã®ä½æã¾ã§ã対象ã¨ããã gvimã®ã¤ã³ã¹ãã¼ã« ãã¦ã³ãã¼ã Windowsåãã«ã³ã³ãã¤ã«ããããKaoriYaæ§ãå ¬éãã¦ãããã®ããã¦ã³ãã¼ãããã 32bit/64bitã¯Windowsã®bitã«åãããã ã¤ã³ã¹ãã¼ã« 以ä¸ã®æé ã§ã¤ã³ã¹ãã¼ã«å®äºã§ããã ãã¦ã³ãã¼ãããzipã解åãã 解åãããã©ã«ãããC:\Program Filesãã¸ç§»åãã gitã®ã¤ã³ã¹ãã¼ã« ãã©ã°ã¤ã³ã®ç®¡çã«ã¯neobundleã使ç¨ããã使ç¨ããããã«ã¯gitãå¿ è¦ã§ããããWindowsã§gitã使ç¨ããããã«ã¯ä¸æéããããã¾ããã¤ã³ã¹ãã¼ã«æ¹æ³ãè¤æ°åå¨ããããåããç¯
2013-06-16 PowerShell(PowerShell ISE)ã§vi(vim)ã使ãããï¼ PowerShell㧠vi(vim) ã¨ãã£ã¿ã使ãããï¼ 1) vim ãã¤ã³ã¹ãã¼ã« http://www.vim.org/download.php#pc ããå ¥æ 2) PowerShell ã®èµ·åã¹ã¯ãªãããã¡ã¤ã«è¨å® ãããã¡ã¤ã«ã¸ä»¥ä¸ã®2è¡ã追å Set-Alias vi 'C:\Program Files (x86)\Vim\vim73\vim.exe' Set-Alias vim 'C:\Program Files (x86)\Vim\vim73\vim.exe' â»ãã¹ã¯vimã®ã¤ã³ã¹ãã¼ã«ãã©ã«ãã«åããã¦é©å®å¤æ´ã§ã â»ãããã¡ã¤ã«ã®å ´æãããããªãï¼PowerShellã®ä¸è¨ã³ãã³ãã§èª¿ã¹ã¾ãã $profile â¦ãããã¡ã¤ã«ã®å ´æãåå¾ã
ãç¡æ²æ±°ãã¦ããã¾ãææ«ã§ããã¿ãªãã grep ãã¦ã¾ããï¼ æè¿ãä»äºã§è¶ 巨大ãªã¬ãã¸ããªã®æµ·ã®ä¸ã彷徨ããã¨ãå¤ã ããã®ã§git grepãå¤ç¨ãã¦ãã¾ããï¼é常ã®grepãptã§ã¯é ãããã®ã§ï¼ãããã§ããã®ä½æ¥ãVimã§è¡ãããã¨ããèªç¶ãªæ¬²æ±ãçã¾ããã®ã§Unite grepã§ã©ãã«ãã§ããªãã試è¡é¯èª¤ãã¾ããããgit grepã¯å¯¾è±¡ãã©ã«ãã®æå®ã«--ã¨ãããã©ã°ãå¿ è¦ã¨ããã®ã§ã©ããã¦ãUnite grepã§ã¯å©ç¨ã§ãã¾ããã§ããããã®å¾ãè²ã ã°ã°ã£ã¦ã¿ãã¨ããunite-git_grepã¨ãããã©ã°ã¤ã³ãè¦ã¤ããã®ã§ä½¿ã£ã¦ã¿ãã®ã§ãã Unite grep ã¨ã®ä½¿ç¨æãå ¨ãç°ãªããUniteã¤ã³ã¿ã¼ãã§ã¤ã¹ã«å ¥åãããã³ã«git grepãèµ°ãããå®è£ ã¨ãªã£ã¦ããã¾ããã ããã¯ããã§ä¾¿å©ã ã¨ã¯æãã®ã§ããã巨大ãªã¬ãã¸ããªã§ã¯åä½ãåºã¾ãã¬ãã«ã§é ãã§ãããããããªã
X ãªã㧠Eclim ã使ãæ¹æ³ã å°å ¥ Vagrant ã Docker ã®æµè¡ã«ãããæ°è»½ã«ä»®æ³ãã·ã³ã使ãæ代ã«ãªã£ã¦ãã¾ããããã¨éçºã«ãä»®æ³ãã·ã³ã使ãããã«ãã¦ãã¹ããã·ã³ã¯ã§ããã ãæ±ããªãæ¹åã«æã£ã¦è¡ããããã¨ã«ãªããæ軽ã«ä½¿ãããããå½ç¶ X ç°å¢ãªã©ã¯æ§ç¯ããªãã ããã§åé¡ã«ãªãã®ã¯ IDE ãåæã«ããè¨èªã IDE ã¯ã¦ã£ã³ãã¦ã·ã¹ãã ã®ä¸ã§åããããä»®æ³ãã·ã³ã X ãªãã§ä½¿ã㨠IDE ã®æ©è½ã使ããéçºãå³ãããªã£ã¦ããã å ·ä½çã«è¨ã㨠Java ãã¸ã£ããã¸ã£ã´ã¡ã§ããã æ¸ãã¨ãã¯ãã¾ãã«ãé·ãååãã¿ã¤ãããããªãããè£å®ã欲ãããªããèªãã¨ãã¯åå解決ã®ããã®ã¿ã°ã¸ã£ã³ãã欲ãããªãã è¿½è¨ åã®ã¢ããã¼ã·ã§ã³ã¯ VM ã®ä¸ã«éçºç°å¢ãéãè¾¼ãã¦ãã¾ãããã¦ãã㤠X ã使ããããªãã¨ããã«ããã¾ãããããããªã人ã¯ãã¹ããã·ã³ã§éçºãªã VM
Vim ã§Java ãæ¸ãç°å¢ãæ´ãã¾ããã çµè« Eclipse çã®IDE ãå©ç¨ããã»ããè¯ãã¨æãã¾ãï¼ï¼ï¼ãçç±ã¯è²ã ããã®ã§å¾è¿°ãã¾ãã ãã¨ãEclipse ã ã¨Vrapper ã¨ããVim ã®ãã¼ãã¤ã³ããåç¾ãããã©ã°ã¤ã³ãããã®ã§ã ããã使ãã°ããç¨åº¦å¹¸ãã«æ®ãããã¨æãã¾ãã æ¬è¨äºã§åãä¸ãããã©ã°ã¤ã³é java.vim javaid.vim javacomplete jcommenter.vim java_getset.vim java_checkstyle.vim åãä¸ããªãããã©ãå ¥ã£ã¦ããã¨å¿ãè±ãã«ãªãã§ããããã©ã°ã¤ã³é NeoBundle ãVundle ã¨ãã£ããã©ã°ã¤ã³ã管çãããã©ã°ã¤ã³ vim-quickrun Normal Mode ã§'\r' ãæ¼ä¸ãã㨠*1ãJava ã§ãã³ã³ãã¤ã«ãã¦å®è¡ãã¦ãããã®ã§ä¾¿å©ã§ãã neocomp
ã¾ãã¾ããããªè¦æããã£ãã®ã§ã æè¿ brightest.vim ã°ã£ããããã£ã¦ãæ°ãããã g:brightest#enable_highlight_all_window = 1 ãè¨å®ãã¦ããã¨ã«ã¼ã½ã«ä¸ã®åèªããã¹ã¦ã®ã¦ã£ã³ãã¦ã§ãã¤ã©ã¤ããããããã«ãªãã¾ãã 注æ ãã®è¨å®ãæå¹ã«ããå¦çãéããªãã®ã§ãã«ã¼ã½ã«ç§»åãé ãæããå ´åã¯ãCursorHold æã«ãã¤ã©ã¤ããããã¨ããã§ãã " CursorHold æã«ãã¤ã©ã¤ãããã let g:brightest#enable_on_CursorHold = 1
æµè¡ã£ã¦ãã¿ãããªã®ã§é ãã°ããªãã便ä¹ãéè¦?ä½ããããããã®? Perlåºç¤ææ³æéãã¹ã¿ã¼ - ãµã³ãã«ã³ã¼ãã«ããPerlå ¥é - Perlããã°ã©ãã³ã°ã®åºç¤ããå¿ç¨ã¾ã§ Route 477(2010-01-25) PHPåºç¤ææ³æéãã¹ã¿ã¼ - Shin x blog Pythonåºç¤ææ³æéãã¹ã¿ã¼ - LazyLife@Diary VBAåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Javaåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Bashåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Haskellåºç¤ææ³æéãã¹ã¿ã¼ - think and error Brainf*ckåºç¤ææ³æéãã¹ã¿ã¼ - ãã®ããã°ã¯è¨¼æã§ããªãã VBScript åºç¤ææ³æéãã¹ã¿ã¼ - CX's VBScript Diary - VBScript ã°ã«ã¼ã JavaScriptåºç¤ææ³æéãã¹
ãã®è¨äºã¯ Vim Advent Calendar ã® 253 æ¥ç®ã®è¨äºã§ããæ¨æ¥ã¯ id:tyru ããã® Alt-Spaceã§ã¦ã¤ã³ãã¦ã®ã¡ãã¥ã¼ã表示ããã¨ã¦ã¤ã³ãã¦ã®æ大å ã§ããã ã¯ããã« Vim ã«ã¯ããããã®ã«ã©ã¼ã¹ãã¼ã ãããã¾ããããã£ã¨ã¿ãªããã¯ãããããããã«ã©ã¼ã¹ãã¼ã ã®ä¸ãããæ°ã«å ¥ããè¦ã¤ãã¦è¨å®ããã¦ãããã¨ã§ãããã ãããä¸ã«ã¯ 99% æ°ã«å ¥ã£ã¦å ¥ãããã©ã1% ã ãå¾®å¦ã«æ°ã«é£ããªãã¨ããå ´åããããã¨æãã¾ããä»æ¥ã¯ãããªã¨ãã«ã«ã©ã¼ã¹ãã¼ã ã®ä¸é¨ã ããã¡ããã£ã¨æ¹é ããæ¹æ³ãç´¹ä»ãã¾ãã :highlight ã vimrc ã«æ¸ã (åºæ¬ç·¨) è²ãå¤ãããé¨å㯠highlight ã³ãã³ããã¡ããã£ã¨ vimrc ã«æ¸ãã° OK ã§ãã " 以ä¸ã®ã³ãã³ã㯠:colorscheme ã®åã«è¨å®ãã¾ã " ã³ã¡ã³ããæ¿ãç·ã«ãã autoc
Vim Advent Calendar 2011 ã® 4 æ¥ç®ã®è¨äºã§ãã ã¿ããã¼ã¸ Vim 7 ãã追å ãããã¿ããã¼ã¸(ããããã¿ãæ©è½)ã使ã£ã¦ãã¾ãã? ããã«ãã£ã¦è¤æ°ã®ç»é¢ãæ±ããã¨ã容æã«ãªãã¾ããããã¿ããã¼ã¸ã®æ©æµã¯ããã ãã§ã¯ããã¾ããããããä»åç´¹ä»ãã 'tabline' ã§ãã Vim ã®æä¸é¨ã«ã¿ãã®æ å ±ã表示ããããã®é åãããã¾ãããå®ã¯ãã®é¨åã¯ä»»æã«è¨å®ãããã¨ãå¯è½ã§ãããããå©ç¨ããã°ãæä¸é¨ã«ä»»æã®æ å ±ã表示ãããã¨ãå¯è½ã«ãªãã¾ãã å§ãã®ä¸æ© - ã¿ããã¼ã¸ã表示ãã ã¾ãã¯ã¿ããã¼ã¸ã表示ããå¿ è¦ãããã¾ããããã©ã«ãã§ã¯ãã¿ããã¼ã¸ã¯è¤æ°ã®ã¿ããããã¨ãã®ã¿è¡¨ç¤ºããããã«ãªã£ã¦ãã¾ãã追å ã®æ å ±ã表示ããã®ãªãã常ã«è¡¨ç¤ºããã¦ããæ¹ãè¯ãã§ãããã ã¾ããgVimã®å ´åã¯ããã©ã«ãã 㨠GUI ã§ã¿ãã表示ããã¾ããããã 㨠'tabli
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}