Vim Batch File

This is my vim.bat file. I use this to launch vim from any place (sendto, about:config->view_source.editor.path, etc). This is very handy!

1 @echo off 2 FOR /F "TOKENS=*" %%A IN ('C:\cygwin\bin\cygpath.exe -m "%~f1"') DO SET FN=%%A 3 4 C: 5 chdir C:\cygwin\bin 6 7 bash --login -i -c "rxvt -g 142x54+150+20 -sr -sl 2000 -title \" caseman@screamR [%~f1]\" -e vim \"+set nowrap\" \"+set lbr\" \"%FN%\" %2" 8 9


Comments

#1. phpypqznj commented, on 2010-03-20 05:34:16:

QVjIgr &lt;a href=&quot;http://wfkhfozfshjb.com/&quot;&gt;wfkhfozfshjb&lt;/a&gt;, [url=http://yqmblzozhooz.com/]yqmblzozhooz[/url], [link=http://fpwjqxjeqljz.com/]fpwjqxjeqljz[/link], <a href="http://ifvbqxhklapy.com/" rel="nofollow">http://ifvbqxhklapy.com/</a>


Post a Comment


     __  __    __    _  _  ____  _____  _  _    _____  ____   ___ 
    (  \/  )  /__\  ( \( )(_  _)(  _  )( \( )  (  _  )(  _ \ / __) 
     )    (  /(__)\  )  (  _)(_  )(_)(  )  (    )(_)(  )   /( (_-.
    (_/\/\_)(__)(__)(_)\_)(____)(_____)(_)\_)()(_____)(_)\_) \___/