ãã®ãã©ã¦ã¶ ãã¼ã¸ã§ã³ã®ãµãã¼ãã¯çµäºãã¾ããããµãã¼ãããã¦ãããã©ã¦ã¶ã«ã¢ããã°ã¬ã¼ããã¦ãã ããã
ããã«ã¡ã ã´ãªã©.vimãéå¶ãã¦ããã´ãªã©ã§ãã ã¿ãªããvimã§ã³ãã³ãããã使ã£ã¦ãã¾ããï¼ ã¼ãã¯åºæ¬çã«ãããªã«ã³ãã³ãã使ããªãã®ã§ãã©ããªãã¨ãã§ããã®ãã調ã¹ã¦ã¿ã¾ããã æ¥æ¬èªããã¥ã¢ã«ãè¦ãã°ã©ããªãã¨ãã§ããã®ãç¥ããã®ã§è¦ã¦ããã¨åå¼·ã«ãªãã¨æãã¾ãã ã³ãã³ãã©ã¤ã³ã¢ã¼ãã¨ã¯ï¼ vimã§ãããã¡ããã¡ã¤ã«ã«æ¸ãè¾¼ãã¨ãã«ãã:wãæã¤ã¨æãã¾ãããããã:ã§ã³ãã³ãã©ã¤ã³ã¢ã¼ãã«ç§»è¡ããç¶ãã¦ã³ãã³ããå ¥åãã¦å®è¡ãã¦ããã ãã§ãã ã³ãã³ãã©ã¤ã³ã¢ã¼ãã§å®è¡ã§ããã³ãã³ãã¯Exã³ãã³ãã§ãã ãã使ãExã³ãã³ã ä¸è¬çã«ãã使ç¨ããã¨æãããExã³ãã³ãã¯æ¬¡ã®è¡¨ã«ãªãã¾ãã :ã¯ã¢ã¼ãåãæ¿ããã¼ãªã®ã§çãã¦ããã¾ãã ã³ãã³ã æä½
ã¯ããã« ä»äºå ´ã§ã¯ãLinuxç³»ç°å¢ã§ä½æ¥ãã¦ããã ãã¹ãã®æºåã®ãããæ¢åã®ã·ã§ã«ã¹ã¯ãªãããå®è¡ãããããããããããªãã¨ã©ã¼ã表示ããåæ¢ããã çµå±ãã·ã§ã«ã¹ã¯ãªããã®æåã³ã¼ãã¨æ¹è¡ã³ã¼ããWindowsï¼Shift-JISãCR+LFï¼ã ã£ãããã ã¨ãããã teratermã§ãµã¼ãã¸æ¥ç¶ãã¦ãããã¨ããã£ã¦ããæåã³ã¼ããæ¹è¡ã³ã¼ããæ£å¸¸ã«è¦ãã¦ããã ãã¡ã¤ã«ç·¨éæï¼vi使ç¨æï¼ã«æ°ä»ããªããã®ãã¨èª¿ã¹ãããè¨å®æ¹æ³ãããã£ãã®ã§ãå¿åé²ã¨ãã¦ã vimrcã®è¨å® ãã¼ã ãã£ã¬ã¯ããªã®.vimrcã«ä»¥ä¸ãè¨å®ããã set laststatus=2 set statusline=%f%m%=%l,%c\ %{'['.(&fenc!=''?&fenc:&enc).']\ ['.&fileformat.']'} 説æ set laststatus=2 ããã¯ãviã§ãã¡ã¤ã«
å¯ã¦ããæé以å¤ã¯Vimã¨Railsã触ã£ã¦ããåãé¸ã¶Vim Tips10é¸ãç´¹ä»ãã¾ãã Vimã使ãå§ãã¦3ã¶æãããã®äººã«ãªã¹ã¹ã¡ã§ãã â» ããã¾ãRailsã¯é¢ä¿ããã¾ããã diw ï¼ãã¼ãã«ã¢ã¼ãï¼ ã«ã¼ã½ã«ä¸ã®åèªãæ¶ã ããã¤ããªãã¦ã¯Vimã使ãæå³ãç¡ãã¨ããã»ã©ãã使ãã³ãã³ãã ãã¼ãã«ã¢ã¼ã㧠hoge ã¨ããæååä¸ã®ãã©ããã«ã«ã¼ã½ã«ãããç¶æ ã§diwã¨ã¿ã¤ãããã¨hogeã¨ããåèªãæ¶ãã¾ãã ãã®ä½ãåèªã¨ããã®ãããã®å¤å®ãé常ã«ç§é¸ã§ãç´æã«ããããã¦ãã¦ä¾¿å©ã§ãã ãã¨ãã°ã|ãã«ã¼ã½ã«ä½ç½®ã ã¨ãã¦ã ho|ge bar -> bar ho|ge.bar -> .bar "ho|ge" -> "" <di|v> -> <> ãã®ããã«ããã¾ãæãã«ç¹æ®è¨å·çãé¿ãã¦ãåèªãåé¤ãã¦ããã¾ãã ciwã¨ã¿ã¤ããããã¨ã§ãhogeãåé¤å¾ãæ¿å ¥ã¢ã¼ã
Rubyã®ã³ã¼ãã£ã³ã°ã«åãã¦ããIDEã¯ä½ãããã®ã ãããã Javaãªãã°Eclipseãããã¡ã¯ãã¹ã¿ã³ãã¼ãã«ãªã£ã¦ããããè¨èªã«ãã£ã¦ã¯VisualStudioãåãã¦ãããã®ãããã Rubyã ã¨NetBeansãAptanaãå§ãããããã¨ãå¤ãã£ãã®ã ãã使ã£ã¦ã¿ãã¨ç§ã«ã¯ã©ãããã£ããæ¥ãªãã£ãã æçµçã«vimãä¸çªè¯ãã¨ããçµè«ã«ãªããæè¿ã¯å°ãvimã§æ¸ãã¦ããã ã³ã¼ãã£ã³ã°ãããã«ããããã¾ãã¯ãè£å®æ©è½ããããããªãã¡ã¬ã³ã¹ã«ããé£ã¹ããã®ã§ããã°æä½éã®æ©è½ã¯æºããã¦ããã¨èããã ä»åã¯ãvimã§ãããå®ç¾ãããã©ã°ã¤ã³ãneocomplcacheã¨vim-refã®å°å ¥æ¹æ³ãæ¸ãã¦ããã ãªãããã©ã°ã¤ã³èªä½ã¯Rubyã«ç¹åãããã®ã§ã¯ãªããä»ã®è¨èªã§ã使ããã¨ãã§ããã æ¬ã¨ã³ããªã¯ä¸è¨2ã¨ã³ããªã®ç¶ãã«ãªãã®ã§ããã®3ãã«ãããã ãããããã£ããvi
This domain may be for sale!
Ubuntuã¯ãããã©ã«ãã§viãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ããããããããã®å®ä½ã¯æä½éã®æ©è½ã®ã¿ãæã£ã vim-tiny(/usr/bin/vim.tiny) ãªã®ã§ãã·ã³ã¿ãã¯ã¹ã®è²ä»ãããã«ã¼ã½ã«ãã¼ã®ãµãã¼ããªã©ãå«ã¾ãã¦ããããä»ä¸ã¤ä½¿ãåæãè¯ãããã¾ããã ã¨ããããã§ãä»æ¥ã¯ãã®æ¹åæ¹æ³ã®ç´¹ä»ã§ãã vim ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« ã¾ãã¯ãtinyã§ã¯ãªãæ®éã®vimãã¤ã³ã¹ãã¼ã«ã $ sudo apt-get install vimã¾ããperlã¨ãpythonã¨ãrailsã¨ãç¨ã«å¹¾ã¤ããµãããã±ã¼ã¸ãããã¾ãã®ã§ã好ã¿ã«å¿ãã¦å¥½ããªã ãå ¥ãã¦ãã ãããé¢é£ããã±ã¼ã¸ã®ãªã¹ãã¯ä»¥ä¸ã®ããã«ã¿ã¤ãããã°è¦ããã¾ãã $ apt-cache search ^vimã¾ããç§ã¯Cãã¢ã»ã³ããªããã¨ã·ã§ã«ã¹ã¯ãªãããããã®è²ä»ããåºæ¥ãã°ããã§ããã®ã§ã追å ã®ããã±ã¼ã¸ã¯å ¥ã
ããã«ã¡ã¯ãå°å·ã§ãã ä»æ¥ã¯vimã®ã³ãã³ãã§ãç´¹ä»ãããããªã¨æãã¾ãã åã¯ããã¹ãã¨ãã£ã¿ã¯å¤§ä½vimã使ã£ã¦ãã¾ãã å·çãããã¨ããvimã§ãã£ã¦ãã¾ããããPHPãvimã§æ¸ãã¦ãã¾ãã vimã£ã¦è²ã ã³ãã³ãããã£ã¦ä¾¿å©ã§ããããåéã¨vimã®ã³ãã³ããæããã£ãããã¦ã度ã ããããªä¾¿å©ãªã³ãã³ããããã®ãï¼ãã¨é©ãããã¾ãã ä»æ¥ã¯ãããªvimã®ã³ãã³ãã®ä¸ããæ®æ®µä½¿ã£ã¦ãã¦ä¾¿å©ã ãªã¼ã¨æããã®ãããã¤ãç´¹ä»ãã¦ããã¾ãã ã¡ãªã¿ã«Shiftãæ¼ããªããã®ã³ãã³ãã¯ãã¢ã«ãã¡ããããã¼ã®å ´åã¯å¤§æåã§è¡¨è¨ãã¾ãã ã¨ã³ã¿ã¼ãã¨ã¹ã±ã¼ããæ¼ä¸ããå¿ è¦ãããå ´åã¯ã¨ã³ã¿ã¼ãã¨ã¹ã±ã¼ãã¨è¨è¿°ãã¾ããã:ãã§ã¯ãã¾ãã³ãã³ãã¢ã¼ãã¯ã¨ã³ã¿ã¼ãæ¼ããªãã¨æå³ããªãã®ã§ãããã¯çç¥ãã¾ãã åææ¼ãã¯+ã§ã¤ãªãã¦è¡¨è¨ããåºæ¬çã«ã¯1æåãã¤é çªã«æ¼ä¸ãã¾ãã â ãã¼ã¸ç§»å ãggã§ã
ãããªãvimãã©ã°ã¤ã³ã®ç´¹ä»ããã¾ããååï¼@soh335ï¼ã§ãã ããããã¨ãã£ã¿ã§ããããã°ã©ã ãæ¸ãéã«ã¯ä¸çªè§¦ã£ã¦ããéå ·ã§ããã¤ããã¼ãéå ·ã¯å¤§åã«ãããã¨ãéè¦ã¨è¨ã£ã¦ã¾ãããã¡ã³ããã³ã¹ããªããè¯ãç¶æ ã«ãã¦ããããã§ããã ä»åã¯vimãã©ã°ã¤ã³ã®ç®¡çãããã°ã©ã æ¸ãèªä½ã«ã¯é¢ä¿ãªããã©ä¾¿å©ãªãã©ã°ã¤ã³ãå®éã«ã¨ãã£ã¿ã使ã£ã¦ããéã«ä¾¿å©ãªãã©ã°ã¤ã³ã®ç´¹ä»ããã¾ãã vimãã©ã°ã¤ã³ã®ç®¡ç vim-pathogen http://www.vim.org/scripts/script.php?script_id=2332 vimãã©ã°ã¤ã³ã¯ãwindowsç°å¢ã¯ã§$HOME/vimfiles/ãmacçã§ã¯$HOME/.vimã®ãã£ã¬ã¯ããªã®ä¸ã«ã¤ã³ã¹ãã¼ã«ãã¦ããã¾ããæ§ã ãªãã©ã°ã¤ã³ãä¸ã¤ã®ãã£ã¬ã¯ããªã«ããã㨠ã®ããã«ãªãä¾ãã°ãã®ãã©ã°ã¤ã³ãæ´æ°ãããã®ã§ã¢ããã
éçºå¹çãä¸ããããã®ãã©ã°ã¤ã³ãæ©è½ã®ãç´¹ä»ã â neocomplcache http://github.com/Shougo/neocomplcache èªåã§è£å®åè£ããããã¢ãããã¦ããããã©ã°ã¤ã³ã§ãVimã§å¹ççãªéçºããããã¨æãã®ã§ããã°å¿ é ã®ãã©ã°ã¤ã³ã§ããvimrcã«ä»¥ä¸ã®1è¡ãå ããã°ãã©ã°ã¤ã³ãæå¹ã«ãªãã¾ãã let g:neocomplcache_enable_at_startup = 1æå¹ã«ããä¸ã§é©å½ã«ãã¡ã¤ã«ãç·¨éããã°èªåã§è£å®åè£ãåºã¦ãã¾ããåè£ãé¸ã¶æã¯Ctrl+Nã§æ¬¡ã®åè£ãCtrl+Pã§åã®åè£ãé¸æã§ãã¾ãã è¨å®é ç®ãããããããã¾ãã:help neocomplcache@ja ã¨ããã°æ¥æ¬èªãã«ããè¦ããã®ã§ãåç §ããªããè¨å®ãã¦ãã ããã ãããã®ãã©ã°ã¤ã³ã使ã£ããã¨ããªãã®ã§ããã°ã人çã®ååã¯æããã¦ãã¾ãã â ããã¹ããªãã¸
æµè¡ã£ã¦ãã¿ãããªã®ã§é ãã°ããªãã便ä¹ãéè¦?ä½ããããããã®? 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åºç¤ææ³æéãã¹
åèªã®æ«å°¾ã¸ ã«ã¼ã½ã«ä½ç½®ãåèªã®éä¸ã®å ´åã¯ãã®åèªã®æ«å°¾ ã«ã¼ã½ã«ãåèªæ«å°¾ãªã次ã®åèªã®æ«å°¾ ã«ã¼ã½ã«ãè¡æ«ãªã次è¡å é ã®åèªã®æ«å°¾
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}