Vimã§svkã使ã
æè¿ãã話é¡ã«ãªã£ã¦ããsvkãèªåã®ç°å¢ã§ã使ã£ã¦ããã
SWIGãå«ããªã®ã§ãSubversionã®ãã¤ã³ãã£ã³ã°ãã®ä»ã¯aptã§å ¥ããã
ã¤ã³ã¹ãã¼ã«ã¯Debianãªãããã ãã
apt-get install svk
ã§ãVim使ããªãSubversionã使ãããã«ã ãããsvncommand.vimã使ã£ã¦ãã¨ããããã©ãä¸å¿svkã«ã対å¿ãã¦ãã
svnã³ãã³ããsvkã«ç½®ãæãã¦å®è¡ãã¦ãã ããªã®ã§ãswitchã¨ãã¯ä½¿ããªããã©ã
以ä¸ã®è¨å®ã.vimrcã¨ãã«æ¸ãã°æå¹ã«ãªãã
let g:SVNCommandEnableBufferSetup=1 let g:SVNCommandAutoSVK='svk'
ã.svn/entriesãããªããã°svkã使ããã£ã¦ããç°¡åãªhackã«ãªã£ã¦ããã®ã§ãsvkã®æ©è½ããã«ã«ä½¿ãããããããªããã©ãä¸å¿ããã§æä½éã®ãã¨ã¯åºæ¥ãã®ã§ä¾¿å©ã
ãã使ãmappingã¯
map | command |
---|---|
\sa | svn add |
\sl | svn log |
\sc | svn commit |
\su | svn update |
\sq | svn revert |
\sv | svn diff |
ãããã
\svãæé«ã«ä¾¿å©ãVimã§å·¦å³åå²ãã¦ã°ã©ãã£ã«ã«ãªDiffãè¦ãããã