Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
æ¨ä»ãããã¸ã§ã¯ããã¨ã«è¨èªã®ãã¼ã¸ã§ã³ããå種è¨å®ãã©ã¤ãã©ãªã使ãåãããã¨ãå½ããåã¨ãªã£ã¦ãã¦ããã ä¸è¨ã®ãããªä½¿ãåãã¯ãVisual Studio/Eclipse/Xcodeãªã©ãIDEã«ã²ãã¥ããããã¸ã§ã¯ããã¡ã¤ã«ãããç°å¢ã§ã¯å½ããåã ã£ãæ¦å¿µã§ã¯ãããããã¸ã§ã¯ããã£ã¬ã¯ããªãããã«.xxxconfigçãªãã¡ã¤ã«ãç½®ãã¨ããææ³ãããã¡ã¯ãã¹ã¿ã³ãã¼ãã¨ãªã£ããã¨ã«ãã£ã¦ãã³ãã³ãã©ã¤ãã¼(ã©ã¤ãã©ã¤ãã¼ç)ãã¡ã®éã§ããããã£ãæåãåºããã¤ã¤ããã¨æãã¦ããã ããã°ã©ãã³ã°è¨èªã«ã¤ãã¦ãRubyã®rvm/rbenvã®ããã«ãè¤æ°ã®ãã¼ã¸ã§ã³ã®å®è¡ç³»ãæ°è»½ã«åãæ¿ããããããã«ãªã£ã¦ãã¦ãããã¾ããRubyã®rvmã§ã¯.rvmrcãrbenvã§ã¯.rbenv-versionã¨ãããã¡ã¤ã«åã§è¨å®ãè¨è¿°ãã¦ãããã®ãã両è ã¨ã.ruby-versionã¨ãããã¡ã¤
vimã§ã¿ããããããéãã¦ä½æ¥ãã¦ããã¨ãåèµ·åæã«ããä¸åº¦ãã®ã¿ããéãã¦ãã¡ã¤ã«ãéãã¦ãããã¨ããã®ã¯ã¨ã¦ãè¦çã§ãããããªã¨ãã¯ã以ä¸ã.vimrcã«è²¼ä»ãã¦ããã°è§£æ±ºã§ãã"save and close all files and save global sessionnnoremap q :mksession! ~/.vim/Session.vim:wqa "close all files without saving and save global sessionnnoremap www :mksession! ~/.vim/Session.vim:qa!function! RestoreSession() if argc() == 0 "vim called without arguments execute 'source ~/.vim/Session.vim' end
ä»ã¾ã§pathogen.vimã使ã£ã¦ããã®ãneobundle.vimã«ä¹ãæãã¦ã¿ã¾ããã Vundleã¨ãneobundle.vim使ã£ã¦ãªãã£ãã®ã¯pathogenã§ä»ãããªå°ã£ã¦ãªãããªã¼ã£ã¦æã£ã¦ãããã«ã試ãã«ãã£ã¦ã¿ãã£ããªã¼ã£ã¦æã£ãæã«ãªããããã©ããããã ã£ãããã§ããã ã§neobundleã®è§£èª¬ã¨ãèªãã ããã¦ãã¨ä»ã®ç°å¢ããæ©æµå¾ããããã ã£ãã®ã§éãè °ãããã¦ç§»è¡ããã 移è¡ä½æ¥ ~/.vim/bundle/ ä¸ãå ¨é¨æ¶ãã¦ã.vimrcã®pathogenã®è¨å®æ¶ãã¦ã~/.vim/bundle/ ã®ä¸ã«neobundle.vimãã£ã¦ãã¦ã.vimrcã«neobundleã®è¨å®æ¸ãã¦:NeoBundleInstallã§ãã£ããã·ã¥ããã å¤ãã£ãã㨠pluginã¤ã³ã¹ãã¼ã«ã®ç®¡çãgit submoduleãã.vimrcã¸ã®è¨è¿°ã«ãªã£ããããããªã«ãã«å¬
vimã§ãã¡ã¤ã«ãéãã¨ãã¹ã¯ãããã¡ã¤ã«ãä½æããã¾ãã ãã¨ãã°ã.main.c.swpã®ãããªååã®ãã¡ã¤ã«ã§ãã vimãããããèµ·åãã¦ä½æ¥ããã人ã¯ãã»ãã®vimã§éãã¦ãããã¡ã¤ã«ã ã¾ãéãã¦ãã¾ã£ã¦ãã¹ã¯ãããã¡ã¤ã«ãããããã£ã¦ä½åº¦ãè¨ãã㦠ãããããã人ãããã®ã§ã¯ãªãã§ããããã ã¹ã¯ãããã¡ã¤ã«ãä½ã£ã¦æ¬²ãããªãå ´åã¯ãä¸è¨ã®è¨å®ããããã¨ã§ vimã«ã¹ã¯ãããã¡ã¤ã«ãä½ãããªããã¨ãã§ãã¾ãã set noswapfile ãã§ã«ãã¡ã¤ã«ãéãã¦ãã¹ã¯ãããã¡ã¤ã«ãããã¨ãã«ã set noswapfileãå®è¡ããã¨ãã¹ã¯ãããã¡ã¤ã«ãæ¶ãã¾ãã éããã¡ã¤ã«ã大ããªãã¡ã¤ã«ã§ããã»ã©ã大ããªã¹ã¯ãããã¡ã¤ã«ã ä½æããã¾ãã大ããªãã¡ã¤ã«ãéãã¨ãã¯ãnoswapfileãã㨠ããããã§ãã ããã§ãã¹ã¯ãããã¡ã¤ã«ã«éªéãããªãå¿«é©ãªvimã©ã¤ããéã
ãè©«ã³ã¨ãç¥ããã¨ãé¡ããããã¾ããä»ãVimã使ã£ã¦ããããã¯ãã¡ããããããã使ã£ã¦ã¿ããããªã¨ããæ¹ã以å使ã£ã¦ããæ¹ãæ¯éãæç« ã®ç¶ããã覧ãã ããã ãè©«ã³ 2011/09/15ã®ååä¸ã«ãµã¨ããããã«ã±ã§ãä¸é¨ã¦ã¼ã¶ã®éã§æ¥æ¬ã®Vimã®ã³ãã¥ããã£ãçµ±åãããã¨ããæ©éãé«ã¾ããå®éã«ãã®ããã«è¡åãéå§ãã¾ãããããã«é¢ãã¦ã¾ãã¯å¹¾ã¤ããè©«ã³ãããªããã°ãªãã¾ããã æ¢ã«åã³ãã¥ããã£ã«æå±ããé å¼µã£ã¦ããã ãã¦ããæ¹ã ã¸ã®ç¸è«ãªãã«æ±ºãã¦ãè¡åãéå§ãã¦ãã¾ã£ãã㨠ä¸æçã«å種ãªã½ã¼ã¹ã®ä½ç½®(URL)ãæ··ä¹±ããã㨠å種ãªã½ã¼ã¹ã®ä½ç½®(URL)ãå¤åããã㨠ããã¾ã§ãã®ãããªæ å ±ãã³ãã¥ããã£ãã¾ã¨ãã¦ããªãã£ãã㨠以ä¸ã«ãããé·ãéã«æ¸¡ã£ã¦ãä¸ä¾¿ããä¸å¿«ãªæãããããæ¹ããããããããæ¹ããããã¨èãã¾ããã¾ãã¨ã«ç³ã訳ããã¾ããã ãã ããã®ãããªãã¨ãä»å¾ã¯éå»
ãã®æç« ã¯ã http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/ã§æ²è¼ããã¦ãããLearn Vim Progressivelyãã®ç¿»è¨³æã§ãã æå ã®å ¨ã¦ã¯ã®çè ã«ããç©ã§ããã訳æã®å 容ã«ã¤ãã¦ã¯ç§ã«ããç©ã¨ãªãã¾ããæ訳ãè¥å¹²å ¥ã£ã¦ãã¾ããééãçããã°ãé£çµ¡ä¸ããã tl;dr: å¯è½ãªéãéãvim(人é¡å²ä¸ãæè¯ã¨ç¥ããã¦ããããã¹ãã¨ãã£ã¿)ãç¿å¾ãããããã®æ¹æ³ãææ¡ãããçãæ®ãã«ã¯æå°ãå¦ã¶äºããå§ãããã®å¾å¾ã ã«ããªãã¯ãæ··ãã¦è¡ãã Vim 60åãã«ã®ããã¹ãã¨ãã£ã¿ åªããã¦ãå¼·ããããã¦éã vimãå¦ã¶äºãããã¯ããªãããªããå¦ã¶æå¾ã®ããã¹ãã¨ãã£ã¿ã«ãªãã§ããããç§ãç¥ãéãããåªããããã¹ãã¨ãã£ã¿ã¯ãªããå¦ã¶ã®ã¯é£ãããã使ãã¨ç´ æ´ãããã 4ã¤ã®ã¹ãããã§å¦ã¶äºããå§ãã
Vim ã« "-" ãªãã·ã§ã³ãä»ããã¨ãæ¨æºå ¥åããã®ãã¼ã¿ãéããããã«ãªããã³ã¬ãçµæ§ä¾¿å©ã ã£ãã ãããªã¨ãã«ä¾¿å©ã ã£ã diff ã®çµæãè¦ã % git diff | vim -git diff ã®çµæãä»ã¾ã§ã¯ less ã§è¦ã¦ããããã©ãã³ã¬ã ã¨ç½é»ã§ãããã¥ãããã§ããVim ã§éãã°ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ããæå¹ã«ãªããè²ä»ãã§è¡¨ç¤ºããå·®åãããããããããã®æ©è½ãç¥ããªãã£ãé diff ã®çµæã Redmine ãªã©ã®ãã¼ã«ä¸ããè¦ã¦ãããããªãã¤ã¬ã¯ãã§ãã¡ã¤ã«ã«åºåããããã Vim ã§éãã¦è¦ã¦ããããããã¯ã¿ã¼ããã«ãããã©ã¦ã¶ã¸ç§»ã£ãããä¸æ¦ãã¡ã¤ã«ã«ä¿åãããã¨ãã¡ãã£ã¨ã²ã¨æéããã£ã¦ãããã©ãããããªããã®ã§ä¾¿å©ã grep ã®çµæãè¦ã % grep -n hoge **/* | vim -grep ã®çµæã Vim ã§éãçµæã®è¡ã«ã«ã¼ã½ã«ãåãã
俺ã¯ã¨ãã£ã¿ã¼ã¯vimæ´¾ã§ããæãè¦ãã¦ãã¾ã£ã¦ããã®ã§ã æ®æ®µã¯ã¿ã¼ããã«ã§vimã使ã£ã¦ãã¦ãJavaã®ã³ã¼ããæ¸ãã¨ãã ãEclipseãªçæ´»ãªãã§ãããEclipseã®ã¨ãã£ã¿ã¼ã¯ã ãªã®ã§ã常ã ä¸æºã«æã£ã¦ããã¾ããã ãã¾ã¾ã§ãEclipseã®ãã¼ãã¤ã³ããvim風ã«ãããvipluginãEclimãªã©ã試ãã¦ã¿ãã®ã§ãããvipluginã¯eclipseã®è£å®ããã¾ãåããªããEclimã¯eclimdãèµ·åããã¦ããå¿ è¦ãããã¡ãã£ã¨å¤§ããããªã©ãããã ã£!ãã¨ãããã®ãããã¾ããã§ããã ããã§ããVrapperãããã®ç»å ´ã§ãã! Eclipseã®ã¨ãã£ã¿ã¼ãvim風ã®ãã¼ãã¤ã³ãã§ä½¿ãã¾ããããããEclipseã®è£å®æ©è½ãªã©ãåæã«ä½¿ãã¾ã! Vrapperã®ã¤ã³ã¹ãã¼ã« Eclipseã®æ´æ°ãµã¤ãã«"http://vrapper.sourceforge.net/u
æ¥æ¬èªã®æ±ãã«ããã¦ãMacPorts ã§ã¤ã³ã¹ãã¼ã«ã§ããç´ ã® MacVim ããã MacVim-Kaoriya ã®æ¹ãåªãã¦ããã®ã§ãã¡ãã使ããã¨ã«ãããçµæçã«ã³ãã³ãã¢ã¼ããã¤ã³ãµã¼ãã¢ã¼ãæã®IMEã®åãæ¿ãã®ON/OFFå«ãã¦å¤§åå¿«é©ã«ãªã£ãã MacVim ãå ã㯠deactivate 次ã㧠macvim-kaoriya ãã¤ã³ã¹ãã¼ã« GUI å´ã®è¨å®ã¨ã㦠~/.gvimrc ã« GUI é¢é£ã®ãªãã·ã§ã³ãè¨å® è¨å®ã¯ä»¥ä¸ã¿ãããªæããç¹ã« noimdisableactivateãè¨å®ãã¦ãããªãã¨ãèªåã®ç°å¢ã§ã¯æ¹è¡ãããã³ã«æ¥æ¬èªå ¥åãOFFã«ãããããã¦ä¸ä¾¿ã ã£ãã set transparency=15 set columns=100 set lines=50 set guioptions-=T set iminsert set noimdisableac
2011-08-13è¿½è¨ æè¿ã®vim pluginã®ç®¡çã«ã¯vundleãããããã http://vim-users.jp/2011/04/hack215/ .vimrcãªã©ã®dotfilesèªä½ã®ç®¡çã«ã¯ä»¥ä¸ã®æ¹æ³ãæç¨ã ã¨æãã¾ãã ãã®è¨äºã§ã§ããããã«ãªãã㨠- Windows, Linuxç°å¢é, ã¾ãã¯å®¶, ä¼ç¤¾éãªã©ã§vimè¨å®ã®å ±æãå¯è½ã«ãªãã¾ãã - 転è·ã,æ°ããPCãè²·ã£ãã¨ããªã©ã®vimç°å¢è¨å®ããã£ã¨ããéã«çµããã¾ãã (vim installã¯å«ã¾ãªããã°5åç¨åº¦?) ãã®è¨äºã®ä¸»é¡ã¯ - pathogen.vim - githubã¨git(git submodule) ã§ãã - pathogen.vimã®æ©è½ã«ãã£ã¦ã.vim以ä¸ã綺éºã«ãã - githubã¨git submoduleã使ã£ã¦ç½®ãã¦ãããã¨ã§.vim以ä¸ãwebä¸ã§ç®¡çãã ã®äº
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
Make a note of it: Web tech, montaineering, and so on. Note: ãã®è¨äºã¯ã3年以ä¸åã«æ¸ããã¦ãã¾ããWebã®é²åã¯éãï¼æ å ±ã®æ£ç¢ºæ§ã¯èªå·±è²¬ä»»ã§å¤æãã¦ãã ããã ããããGrepæ¤ç´¢âç½®æã¿ãããªãã¨ãæ®éã®ã¨ãã£ã¿ã«ã¯ã ãããä»ãã¦ãããã©ãVimã§ããã£ã¦ããã¾ã馴æã¿ãç¡ãããã£ã¦ãã¨ã§ã¡ã¢ã£ã¦ã¿ããUNIXãªãå¤é¨ã®grepã³ãã³ããå®è¡ããæ¹æ³ãããããã©ãVimå é¨ã§è¡ãæ¹æ³ã¨ãã¦ãvimgrepã使ãæ¹æ³ã¨ã¢ã¼ã®ã¥ã¡ã³ããªã¹ããç¨ããæ¹æ³ãç´¹ä»ãã¾ãã ãVimåºæ¬æä½ã¾ã¨ããã®ã»ãã«æ¸ãããã¨æã£ããã©ãå°ºãå端ãªã®ã§ãã£ã¡ã«æ¸ããã¨ã«ããã 2009.06.02 id:gabaã®è¦æã«å¿ãã¦ãã:bufdoãã追å ã 2009.06.02 ã¢ã¼ã®ã¥ã¡ã³ããªã¹ãã«é¢ãã¦ã¯ãvim-user.jpã«è©³ããè¼ã£ã¦ã
å ¨å½ï¼åï¼åä¸äººã®zen-codingãã¡ã³ã®çæ§ãå¦ä½ãéããã§ããããã å æ¥ã®è¨äºã§zen-codingãpure vimscriptã«ç§»æ¤ãããzencoding.vimãããç´¹ä»ããã¦é ãã¾ããã ãã®æã¯ç¥èªã®å±é(Expand Abbreviation)ããæ©è½ããªãç©è¶³ããªãã£ãããããã¾ãããã¾ãæ®ã©ã®ç§»æ¤åã¯Expand Abbreviationããç¡ãã®ã§ããã zen-codingã«ã¯ä»ã©ããªæ©è½ããããã¨ããã¨ãå®ã¯ã¾ã 便å©ãªæ©è½ããã£ãããã¾ãã ãªãã£ã·ã£ã«ã®ãµã¤ãã«ãã㨠Expand Abbreviation Wrap with Abbreviation Balance Tag Inward/Outward Go to Next/Previous Edit Point Update Image Size Merge Lines Remove Tag Spl
ããã¯2008-11-22ã«éå¬ãããVimM#3ã§çºè¡¨ãããoperator, the true power of Vimãã«å çä¿®æ£ããããã®ã§ããVimMã¨ããã®ã¯ããã¹ãã¨ãã£ã¿Vimã«ã¤ãã¦ã®åå¼·ä¼ã§ã2008-07-20ã®#1ãçºç«¯ã¨ãã¦ä¸å®æã«éå¬ããã¦ãã¾ãããããã#4ãããããã®ã§ãããææãä¼å ´ãªã©ã©ããããã§æ©ã¿ä¸ã Vim使ãã®æé·éç¨ ä¾ãã°ä»ããPerlã使ãå§ããã¨ãã¾ããããä¸ä½ã©ãã ãPerlã«å¯¾ããé è©£ãæ·±ããªãã°Perlããã°ã©ãã¨ãã¦ã®ä¸äººåãªã®ã§ãããã? 使ãå§ããã°ããã®ç«å ´ããããã°ãèªåãä»ã©ã®æ®µéã«ããã®ãææ¡ãããã¨ãã§ããã®ã§ããã°ã次ã«ãã¹ããã¨ãå¤æããä¸ã§ããã»ã©æç¨ãªãã®ã¯ããã¾ããããã¡ããããã®åãã¯ãä¸äººåãã®åºæºãã©ãã«è¨å®ãããã§çãã大ããå¤ãã£ã¦ãã¾ãããããªãã®ç®çãä½ãªã®ãã«ãã£ã¦ãç°ãªãã¾ããsedã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}