VIM
gVimã®vimrcã« set clipboard=unnamed ã¨æ¸ãã¦ãããã㤠ClipStorage ã¨ããã¯ãªãããã¼ãã½ããã使ã£ã¦ããã¨ãã¤ã³ã¯ãã«ããã«ãã£ã¦ã¯ãªãããã¼ãã¬ã¸ã¹ã¿("*)ã«ãã¼ã¿ãè¡ããã³ã«gVimã®ç»é¢ããã©ãã·ã¥ãã¦ãã¾ã*1ã ç§ã¯ãã®å¯¾çã¨ãã¦ãclipbâ¦
gg [count] è¡ç®ã®æåã®é空ç½æåã«ç§»åãã¾ã(è¡æå) ã«ã¦ã³ãã®åç½®ããªããã°æåã®è¡ã«ç§»åãã¾ãã 'startofline' ãã»ããããã¦ããªããã°åãæ¡ä½ç½®ã«ç§»åãã¾ãã Vim documentation: motion ã¤ã¾ãå é è¡ã®å é ã«ç©ºç½æåããã£ãå ´åãggã¯æâ¦
Vim ã«ã¯ãããã¹ããæããããæ©è½(folding)ããããããããã¾ã使ãã°ãVim ãç°¡æã¢ã¦ãã©ã¤ã³ããã»ããµã«ãããã¨ãã§ãã(å³1)ã å³1: foldingæ©è½ã«ããã¢ã¦ãã©ã¤ã³è¡¨ç¤º æãç³ãæ¹æ³ã¯6種é¡åå¨ããããç°¡æã¢ã¦ãã©ã¤ã³ããã»ããµã¨ãã¦ä½¿ãã«ã¯â¦
ãããªæãã§ããã©ãã§ã£ãããã " set statusline " function inspired by http://memo.officebrook.net/20050512.html#p01 function! GetCharCodeForSTL() let str = '' if &fileencoding ==? 'utf-8' let str = '[UTF-8]' elseif &fileencoding ==? 'cpâ¦
Vim ã«ã¯ã¿ããã¼ã¸æ©è½ããããVim ãªã®ã§å½ç¶ãã¿ãã®è¡¨ç¤ºã®ã«ã¹ã¿ãã¤ãºããããã¨ãå¯è½ã ãè¨å®ã¯ 'guitablabel' ãªãã·ã§ã³ã§è¡ã*1ããããããã£ã¦ããã¨ãããä¸ã¤åé¡ã«ç´é¢ããããã¿ãã«ãã¡ã¤ã«åã表示ãããé·ããã¡ã¤ã«åã¯æ«å°¾ãçç¥ãããâ¦
Vim ã®ãã«ããçºãã¦ãããããããã¡åé¤ã³ãã³ãã«è¤æ°ã®ç¨®é¡ã®ãã®ããããã¨ãåãã¦ç¥ã£ããä»ã¾ã§ã¯ :bd ã ãã使ã£ã¦ããã®ã§ãããããã®ç¹æ§ãããç¥ã£ã¦ã使ãåãã¦ã¿ããã
ç´ ç´ã« 1.8 ç³»åãå ¥ãããããmsvcrt-ruby18.dllããã¼ãã§ãã¾ãããçãªã¨ã©ã¼ã¡ãã»ã¼ã¸ã«ééããã*1ãã¨ãããã 1.8 ç³»åãã¤ã³ã¹ãã¼ã«ãèªåã®å ´åã¯ãããã§è§£æ±ºã§ããã *1:vim-ruby ã«ãããªã ãè£å®ããããã¨ãã¦ééã
ç·ã¯ãLatex ããã¥ã¡ã³ããç·¨éããããã«ãVim-Latex ã¨ãããã©ã°ã¤ã³ãå°å ¥ãã Vim ã使ã£ã¦ããããããããæ¥ã彼㯠WinShell ã¨ãããã¤ã¦ä½¿ã£ã¦ãã Latex IDE ã«ä¹ãæãã¦ãã¾ããå½¼ã¯ãªã Vim ããé¢ããã®ããä»åã¯ããããæ¢ã£ã¦ããæ ã§ããâ¦
via http://vim-users.jp/2010/01/vim-10-levels/ãèªåã¯Lv2.5ã¨ãã£ãã¨ããã(Lv1,2ãã¯ãªã¢ã¼ããLv3ã®ååã¾ã§è¡ã£ã)ãã¾ã ã¾ã å ã¯é·ããã©ãã§ããããã©ãLv4ã¨5ã¯éã ã¨æãã Lv1 vimtutorãçµããããããããã¯ãhjklã§ç§»åã§ãã¦ä¿åã¨çµäºãâ¦
æè¿Vimãããã£ã¦ãã¦æ°ã¥ãããã¨ãåãçããªãæ¸ãã ãã®è¨äºã§ãã åå: ã 2009-11-09 次å: ç°å¢: OS WindowsXP SP3 Vim Vim7.2é¦ãå±ç ä»åã®è©±é¡: ã¹ãã«ãã§ãã¯ããããã¡ãªãã¼ããä¸æåã¸ã®ãªãã¬ã¼ãããªãã·ã§ã³ãã°ã«ãIMEããã±ã¼ã«ãã¢â¦
対象ãã¼ã¸ã§ã³ vim-latex-1.5-20091002-r1074 ãã¹ã¿ã¼ãã¡ã¤ã«(*.latexmain)ã«æ¸ããVimã®ã³ãã³ããã¡ããã¨èªã¿è¾¼ã¾ããªããã°(?)ãç´ãã«ã¯ã .vim/ftplugin/latex-suite/texproject.vim ã®42è¡ç®ã以ä¸ã®ããã«å¤æ´ãã¹ãã "exec 'source 'fnameescapâ¦
æ¡å¼µåã myft ã§ãããããªãã¡ã¤ã«ã®ç¨®é¡(ãmyftãã¡ã¤ã«ã)ãããã¨ãã¦ãfilename.myft ã Vim ã§éããã¨ããmyft ãã¡ã¤ã«ç¹æã®è¨å®ãããã®ããããã¡ã¤ã«ã¿ã¤ããã©ã°ã¤ã³(Filetype plugin)ãã ãä½æã®æé ã¯ä»¥ä¸ã®éãã ~/.vim/ftdetect ä¸ã«ãâ¦
æè¿Vimãããã£ã¦ãã¦æ°ã¥ãããã¨ãåãçããªãæ¸ãã ãã®è¨äºã§ãã 次å:2009-11-10 ã 2009-12-13 ç°å¢: OS WindowsXP SP3 Vim Vim7.2é¦ãå±ç
追è¨(2009-12-04): ã²ãããªå¤æã«ã¤ãã¦ã®è¨è¿°ãããã³Googleæ¥æ¬èªå ¥åãå©ç¨ããéã®è¨å®ã«ã¤ãã¦è¿½å ã ç§ã®ãã¼ãããå¤æ´with KeyCtrl and XKeymacs - å¦ç¿ããæ©æ¢°ãå¦ç¿ããªã人éã«å¼ãç¶ãããã¼å ¥åç°å¢ãã©ã®ããã«ããã°ãå¿«é©ãªããã¹ãå ¥åãâ¦
æ¬è¨äºã§ã¯ãVimã®ç°å¢ãWindowsXPä¸ã®Dropboxã§å¥PCã¨åæããããã®æ¹æ³ã«ã¤ãã¦è¿°ã¹ãããªããããã§è¿°ã¹ããã¨ã¯ãVimã®åæã«éãããä»ã®ã¢ããªã±ã¼ã·ã§ã³ã®è¨å®ã®åæã«ãå¿ç¨ã§ãããVimã®ç°å¢ãDropboxã§åæããå ´åã¯ãåºæ¬çã«ã¯ä»¥ä¸ã®è¨äºãåâ¦
æ¿å ¥ã¢ã¼ãã«ããæã«Escãæ¼ãã¨ãã³ãã³ãã¢ã¼ãã«ç§»è¡ããã¨åæã«æ¥æ¬èªå ¥åãOFFã«ãã¦ããããVIå調ã¢ã¼ããã«ã¤ãã¦ã以åæ¸ããã uimãã¤ã³ã¹ãã¼ã«ãã¦viå調ã¢ã¼ãã使ã - å¦ç¿ããæ©æ¢°ãå¦ç¿ããªã人é ãããããã®ãVIå調ã¢ã¼ãããå°å ¥ã§â¦
追è¨(2009-11-09):ã¡ããã¡ããä¿®æ£ã 追è¨(2009-11-16):ã¡ããã¡ããä¿®æ£ã æçµåã§ããä»åã¯ãååã«å¼ãç¶ããç·¨éä½æ¥ãè¡ãã®ã«ä¾¿å©ãªä½¿ãæ¹ãç´¹ä»ããã表ç´ï¼ 俺ãVIM-LaTeXã«ã¤ãã¦æ¸ããããªã(1) VIM-LaTeXã«ã¤ã㦠- å¦ç¿ããæ©æ¢°ãå¦ç¿ããªãâ¦
追è¨(2010-01-12):ãã³ãã³ãã®æ¿å ¥ãã«ã¤ãã¦è¿½å ã 追è¨(2009-11-09):ã¡ããã¡ããä¿®æ£ã 追è¨(2009-12-13):ã³ã¡ã³ãæ å ±ã«åºã¥ããF9è£å®ã«ã¤ãã¦ã®è¨è¿°ã追å ã ä»åã¯ãLaTeXããã¥ã¡ã³ãã®ç·¨éã®éã«ä½¿ãã¨ä¾¿å©ãªæ©è½ãå³é¸ãã¦ç´¹ä»ããããªããgVimãâ¦
追è¨(2009-12-13):Pythonã®ã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦è¿½è¨ã ä»åã¯ã¤ã³ã¹ãã¼ã«ã®ä»æ¹ã«ã¤ãã¦ãWindowsã¸ã®ã¤ã³ã¹ãã¼ã«ãåºæ¬ã«è¨è¿°ããããUnixç³»ãã®ä»ã¸ã®ã¤ã³ã¹ãã¼ã«ãåæ§ã«è¡ããã¯ãã表ç´ï¼ 俺ãVIM-LaTeXã«ã¤ãã¦æ¸ããããªã(1) VIM-LaTeXã«ã¤ã㦠-â¦
追è¨(2009-12-13):åèãµã¤ãã追å ã 追è¨(2009-12-14):åèãµã¤ãã追å ã VIMã§LaTeXããã¥ã¡ã³ããæ¸ããã¨æããã£ã¦ããããã調ã¹ã¦ã¿ããã©ãããVIM-LaTeXã¨ãããã©ã°ã¤ã³ãå©ç¨ã§ããããã ããæ¥æ¬èªã®ã¾ã¨ã¾ã£ãæ å ±ãå°ãªããã¤ã³ã¹ãã¼ã«ã使â¦
追è¨(2009-04-16): word, WORDã®å®ç¾©ã®è§£èª¬ãå®å ¨ãªãã®ã«ããã vimã«ãããwordã®å®ç¾©ãããã«ããã¡ã¤ã«ã®è¨è¿°ããæ¹ãã¦èãã¦ã¿ãããã¤ãã§ã«WORDãããã¤ã³ãã¨ãªãã®ã¯ãwordã®åºåããæ¹ã¯ããã¯ã¤ãã¹ãã¼ã¹ã«ãããã®ã ãã§ã¯ãªãã¨ãããã¨ã
ã¿ã¤ãã«ã ãã§è¨äºãçµäºãã¦ãã¾ã£ããããã ãã§ã¯ãããªã®ã§ãä½è«ãvimã®ã³ãã³ãã®ä¸é¨ãçç¥ãã¨ã¯ãçç¥å¯è½ãªé¨åæååã®ãæ¥å°¾è¾ããçç¥ã§ãããã¨ããæå³ã§ãããã¤ã¾ãããããããã¨ã ã writeã³ãã³ãã¯ããã¥ã¢ã«ã§ã¯"w[rite]"ã¨è¡¨è¨ããâ¦
追è¨(2009-04-10):ã¯ãªãããã¼ãã¸ã®éå®çãªã³ãã¼ææ³ã«ã¤ãã¦è¿½è¨ã puttyä¸ã®vimã§éããããã¹ãã®æååãWindowsã®ã¯ãªãããã¼ãã«ã³ãã¼ãããããç´ ã®vimã§ã¯ã§ããªã puttyä¸ã®ã·ã§ã«ã®ã³ãã³ãã©ã¤ã³æååãªãããã¦ã¹ã«ããç¯å²é¸æã§ã¯ãªãâ¦
uimã®ãviå調ã¢ã¼ããã使ãã¨ãviã®æ¿å ¥ã¢ã¼ãã§æ¥æ¬èªå ¥åãã¦ããEscã§ã³ãã³ãã¢ã¼ãã«ç§»è¡ããã¨ãã«ãèªåçã«æ¥æ¬èªå ¥åãOFFã«ãªããããã¯ä¾¿å©ã è¨å®æ¹æ³ apt-getã¾ãã¯Synapticã§uim, uim-anthyããã³gnome-applet-uimããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«â¦