ã°ã°ã£ã¦ããªããªãåºã¦ããªãã£ãã®ã§Qiitaã«ã¡ã¢ãã¦ããã¾ãã ä¸è¨ã«ã¤ãã¦docã®è©²å½ç®æãè²¼ã£ã¦ããã¾ãã g:vimfiler_enable_auto_cd *g:vimfiler_enable_auto_cd* This variable controls whether vimfiler change Vim current directory using |g:unite_kind_openable_lcd_command| automatically. Note: This variable works in file source. Default value is 0
Vim Advent Calendar 2012ã®363æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã¯thincaããã®æ¬å½ã«ãã¢ã Vim script â . æ¼ç®åç·¨ â æ°¸é ã«æªå®æã§ããã ãã¨3æ¥ã§VAC2013ã«ãªãã¨ãããã¨ã§ããããã¾ããVAC2012ã®99人ç®ã¨ãã¦è¨äºãæ¸ãã¦ã¿ããã¨æãã¾ãã åã¯ä»å¹´ã®1æãã2æãããããVimã使ãå§ããã®ã§ãèªåã®Vimæ´ãããåã«å§ã¾ã£ãAdvent Calendarã«åå ããã¨æãã¨æ´å²ãæãã¾ãããããã Vimã§æåã«ç¿ãã®ã¯hjklã«ããã«ã¼ã½ã«ç§»åã§ãã ãã®å¾w,bãªã©ããããã®ç§»åã³ãã³ããè¦ããã¨æãã¾ãã ã¾ãVimã使ã£ã¦ããã¨ãããã®7,8å²ã¯ã«ã¼ã½ã«ç§»åãã¦ãããããªãã§ãããã??? ã«ã¼ã½ã«ç§»å大äºã ã¨ãããã¨ã§ã«ã¼ã½ã«ç§»åç³»ãã©ã°ã¤ã³ã§ããvim-easymotionã®è©±ããã¾ãã vim-easymotionã¨ã¯
filtering.vimã¯ã軽快ã«åä½ããã使ããããæ¤ç´¢ãã©ã°ã¤ã³ã§ãã ã«ã¬ã³ããããã¡ãæå®ãã¼ã¯ã¼ãã§ãã£ã«ã¿ãªã³ã°ãããã®çµæã®ä¸è¦§ãè¦ããã表示ããæ©è½ãããã¾ãã (Windows, Mac) æ¦è¦ Quich Filter : Quickly filter all matches of a string, browse the list, and jump back quickly. http://www.vim.org/scripts/script.php?script_id=2759 filtering.vimã¯ã軽快ã«åä½ããã使ããããæ¤ç´¢ãã©ã°ã¤ã³ã§ãã ã«ã¬ã³ããããã¡ãæå®ãã¼ã¯ã¼ãã§ãã£ã«ã¿ãªã³ã°ãããã®çµæã®ä¸è¦§ãè¦ããã表示ããæ©è½ãããã¾ãã
ææ³æã®å¯ç£ç© ãããã°ã©ã ã~ã:VimFilerã®ããã©ã«ããã¼ãã¤ã³ãã¾ã¨ããã®ç¼ãç´ãã§ãããããã©ã«ããã¼ãã¤ã³ãã®ã¢ãããã¼ãããã©ãã¼ãã¤ã¤ãæ©è½å¥ã«æ´çãã¦ã¿ã¾ããããã¼ãã¤ã³ãã¯ãã¡ããåèªã§èªç±ã«è¨å®ã§ãã¾ãã®ã§ããã¼ãã¤ã³ãã®ã¾ã¨ãããèªä½ã«ã¯ãã¾ãæå³ã¯ããã¾ããããvimfiler ã®æ©è½ãæ¦è¦³ããã«ã¯å½¹ç«ã¤ã ããã¨æãã¾ãã ç¾æç¹*1ã§ç¨æããã¦ããæ©è½ã¯ãã¹ã¦ç¶²ç¾ ãã¦ããã¨æãã¾ãããæ¼ããããã¾ãããããã³ããé¡ããã¾ãã èµ·åï¼çµäº :VimFiler ã§èµ·åãnetrw ãç½®ãæããããã«è¨å®ãã¦ããã° :e . ã§ã vimfiler ãèµ·åããã ãã¼ æ©è½ o å¥ã® vimfiler ãèµ·å æ¢ã«äºç»é¢ã«ãªã£ã¦ããã¨ãã¯ãã£ã¬ã¯ããªãåæ ï¼ä»æ¹ã® vimfiler ãç¾å¨ã® vimfiler ã«åæï¼ O å¥ã® vimfiler ã¨ãã£ã¬ã¯ããª
vimã¯ãè¤æ°ã®ãããã¡(buffer)ãéããã¨ãã§ãã¾ãã ls, buffers, files éãã¦ãããããã¡ä¸è¦§(ãããã¡ãªã¹ã)ã表示ãã bfirst,bf å é ã®ãããã¡ã«ç§»åãã blast,bl æå¾ã®ãããã¡ã«ç§»åãã bnext,bn 次ã®ãããã¡ã«ç§»åãã bprev,bp åã®ãããã¡ã«ç§»åãã b NUM NUMçªç®ã®ãããã¡ã«ç§»åãã badd ãããã¡ã«ãã¡ã¤ã«ããã¼ããã bdelete ãããã¡ãã¢ã³ãã¼ããã .vimrc ãã¼ãã«ã¢ã¼ãã®ã¨ãã«F2ã§åã®ãããã¡ãF3ã§æ¬¡ã®ãããã¡ã«ç§»åããããã®è¨å®ã¯ä»¥ä¸ã®éãã map <silent> <F2> :bp<cr> map <silent> <F3> :bn<cr> ãããã¡ãªã¹ããåºãã¦ãé¸ãã§ç§»åãã lsã§ãããã¡ãªã¹ãã表示ãã¦ãb 3(3çªç®ã®ãããã¡ã«ç§»å)ã¨ããããã¨ã ããããã
ããã§ãä¸ã¤æãã¦ããããã®ã¯ viåã³vimã§ã¯åæè¨å®ã§ã¯å¤æ´éä¸ã®ãã¡ã¤ã«ãé¢ãã¦å¥ã®ãã¡ã¤ã«ãç·¨éãããã¨ãã§ããªã ã¨ãããã¨ã ã¤ã¾ãããã£ãã :write ã¨ããã :edit! ã¨ãã¦å¤æ´ãç ´æ£ããã :hide edit foo.txt ã¨ãã¦æ示çã«ç·¨éä¸ãã¡ã¤ã«ãé ããããå¿ è¦ãããã ãã¡ã¤ã«ãåãæ¿ããéãèªåã§ä¿åãããªãã·ã§ã³ã¨ã㦠:set autowrite èªåã§:hideãä»å ãããªãã·ã§ã³ã¨ã㦠:set hidden ãããã以ä¸ã®nextç³»ã³ãã³ãçã«ãé¢ä¿ããã ã»ãã¡ã¤ã«ãåãæ¿ããï¼nextç³»ã³ãã³ãï¼
ä¸è¨ã®è¨äºã§msysãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ãã¦ãã¾ããmsysã«ã¯ls,cp,mvã¨ãã£ãlinuxã³ãã³ããå ¥ã£ã¦ãããWindowsã§vimfilerãvimshellãåä½ãããããã«å¿ è¦ã§ãã Macã®å ´å äºåã«XCodeãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ããXCodeã«gccãå«ã¾ãã¦ãã¾ãã ä¸è¨ã³ãã³ãã§ã³ã³ãã¤ã«ãã¾ãã cd ~/.vim/bundle/vimproc/ make -f make_mac.mak vimproc/autoload/vimproc_mac.so ãä½æããã¦ããã°ã³ã³ãã¤ã«ã¯æåã§ãã Linuxã®å ´å gccãã¤ã³ã¹ãã¼ã«ãã¾ããã»ã¨ãã©ã®Linuxã§ã¯ããã©ã«ãã§å ¥ã£ã¦ããã®ã§ã¯ãªãã§ããããã ä¸è¨ã³ãã³ãã§ã³ã³ãã¤ã«ãã¾ãã cd ~/.vim/bundle/vimproc/ make -f make_unix.mak vimproc/
ãã®ãã¼ã¸ã¯åé¤ããã¾ããã以åã®ãªãã¸ã§ã³ã®ä¸è¦§ããã§ãã¯ãã¦ããã¤ã»ãªãåé¤ãããã®ã確èªããããéå»ã®çã«ã¢ã¯ã»ã¹ããããå ã«æ»ãããåºæ¥ã¾ãã
2010å¹´05æ09æ¥ VimFilerã®ããã©ã«ããã¼ãã¤ã³ãã¾ã¨ã çç²ã®VimmerãªãVimã®ãã¼ãã¤ã³ãã§çæ´»ããããªã£ã¦ããã¯ãã§ããã§ãããã¡ã¤ã«æä½ã®ããã«ã·ã§ã«ããã¡ãã¡ç«ã¡ä¸ããã®ã¯VimShellãããã¨ã¯ããé¢åã§ããããã§VimShellã®ä½è ã§ãããShougoãããä½ã£ã¦ãã ãã£ãã®ããã®VimFilerã§ãã ãããã¤ã³ã¹ãã¼ã«ããã¨ãªãã¨Vimãªãã§ãã¡ã¤ã©ã¼ãèµ·åãã¦ãã¡ã¤ã«æä½ãç°¡åã«ã§ããããã«ãªãã¾ãï¼ï¼ãããªãã°ããããã©ã°ã¤ã³ã使ããªãçç±ã¯ç¡ãã§ãããï¼ Screen Shot of VImFiler ããã ãã§åºæ¬çãªä½æ¥ã¯ãã¹ã¦ããªãã¦ãã¾ãã®ã§ãããããã©ã«ãç¶æ ã§ã®ãã¼ãã¤ã³ããã¾ã¨ãã¦ããã¾ãã ãã¼ å¹æ Ctrl-G ãã¡ã¤ã«åã表示 Ctrl-L ç»é¢ãåæç» CR (EnterãReturn) Vimfilerã®é¢é£ã¥ããå®
ç¾å¨ç§ãéçºä¸ã®unite.vimã«é¢ããç´¹ä»ã§ãããªãã±ã¨ãã¦ãä»ã¾ã§ã®çºè¡¨ããã¤ã¸ã§ã¹ãå½¢å¼ã§å¾¡å±ããã¦ãã¾ããRead less
Copyright © 2004-2024 Impress Corporation. An Impress Group Company. All rights reserved.
Cygwin使ã£ã¦Vundle管çããã人ã¯ãã£ã¡ï¼ 以åæ¸ããWindows7ã«ã¦Vim pluginãVundleã§ç®¡çãããæå¤ã¨èªã¾ãã¦ãã¾ããã Vimãã¯ããã¯ãã¤ãã«ã§ã¯Linuxã§ã®ä½¿ãæ¹ã®è§£èª¬ã主ã ã£ãï¼Gitã¯å ¥ã£ã¦ã¦å½ããåã§ããï¼ã¿ãããªå¦ï¼ã®ã§Windowsã ã¨èª¿ã¹ãå¿ è¦ãããã¾ãããã ãªã®ã§ãåã®è¨äºããä¸å¯§ã«ã¾ã¨ãã¾ããã ã¤ã³ã¹ãã¼ã«æºå ã¤ã³ã¹ãã¼ã«ã¯github.comã«ããå ¬å¼ã®Vundle for Windowsãä¸å¯§ã«æ¸ãã¦ããã¾ãããã¡ãã®æ¹ãããããç¥ãã¾ããã ãè±èªãªãã¦èªã¿ãããªãï¼ãã£ã¦äººãããã®æ¸ãæ¹ã¨éãã¤ã³ã¹ãã¼ã«ã ã£ãï¼ãã¨ãã人ã¯ç§ã®ããæ¹ãèªãã§ãã ããã ï¼â»éãã¤ã³ã¹ãã¼ã«ã¨ã¯ãã³ãã³ãããã³ããã§Gitã使ãããã«PATHãéãã¦ãªãã£ã人ãã¤ã¾ããNextãé£æããäººï¼ Gitã®æºå msysgitã®
ãã£ã¨Linuxã使ã£ã¦ãããCygwin+Windowsç°å¢ã¸ç§»è¡ãããã¨ã«ããã 主ãªçç±ã¯ããã©ã¦ã¶ä¸ã§ä»äºããã¾ããæéãã©ãã©ãå¢ãã¦ãã¦ã ããLinuxã¨ãWindows(ã¾ãã¯MacOSX)ã¨ããOSã¯éè¦ã§ãªããªã£ãããã OSã«ãã ããããªãã¨ãçµå±ãã¼ãã®é¸æè¢ãè±å¯ã§ ã½ãããå¨è¾ºæ©å¨ã®å¯¾å¿ãããWindowsã使ããã¨ã«ãªãã¾ãã èªåã®æ¥å¸¸çãªPCå©ç¨ãæ¯ãè¿ã£ã¦ã¿ãã¨... ã¤ã³ã¿ã¼ããããã©ã¦ã¶(Firefox) bashã使ã£ãCUIãã¼ã¹ã®ä½æ¥ , Makeã»ãUNIXåºæ¬ãã¼ã« vim Python(Google App Engineã®éçºç) Java(Desktopã¢ããªã®éçºãéå»ã®ãã¼ã«ã®å©ç¨) Jython ããã ãã§ã»ã¨ãã©éã«åã£ã¦ããã ãã¨ã¯ãOpenOfficeOrgãAdobeé¢é£ã®ã½ããã¦ã§ã¢ãWindowsä¸ã§ä½¿ãããããã
Windowsã«msysgitãã¤ã³ã¹ãã¼ã«ãã¦githubã«pushãã§ããã¾ã§ãç´¹ä»ãã¾ãã 2013å¹´7æ30æ¥è¿½è¨ SourceTree ã«ç§»è¡ãã¾ããã åä½ç¢ºèªç°å¢ Windows7 64bitmsysGit 1.7.9TortoiseGit 1.7.7.0 64bit ç®æ¬¡ msysGitã®ã¤ã³ã¹ãã¼ã« TortoiseGitã®ã¤ã³ã¹ãã¼ã« githubã«ãªãã¸ããªãä½æãã SSHãHTTPSã©ã¡ãããå©ç¨ãã¦githubã®ãªãã¸ããªã«æ¥ç¶ãã SSHç§å¯éµã¨å ¬ééµã®ä½æ SSHå ¬ééµãgithubã«ç»é²ãã SSHå ¬ééµã®è¨å®ç¢ºèª Gitã®è¨å® ãã¼ã«ã«ããgithubãªãã¸ããªã«pushãã¦ã¿ã HTTPSã®ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ãèªè¨¼ãçç¥ããæ¹æ³ TortoiseGitã«ã¤ã㦠msysGitã®ã¤ã³ã¹ãã¼ã« ä¸è¨URLããã¤ã³ã¹ãã¼ã©ããã¦ã³ãã¼ããã¾ãã http:
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}