open urxvt here and open in vim applescript

Update: noticed a little bug in the script, the right way to do it should be this: set disp_no to do shell script "disp_no=($( ps -awx | grep -F 'bin/X' | awk '{print $(NF-2)}' | grep -e \":[0-9]\" )); if [[ -n $disp_no ]];then DISPLAY=${disp_no}.0; else DISPLAY=:0.0; fi;echo $DISPLAY" if you have tcp forward off, maybe without \$NF if it’s enabled but anyway grep -F X11.app won’t work with newer X versions

Read the rest of this entry »

ViInutMate on github

I noticed some people try to reach that viinputmate page, which was supposed to be a better vi plugin for textmate but there’s nothing on it… Well, I never bothered “finishing” it. I did just push what I had on github though. However, since I didn’t version anything it’s just a big blob difference from the sourceforge thing. Maybe you’ll have some use for it, but I pretty much abandoned it a long time ago.

Read the rest of this entry »

Vim & Rails

I did a little write up on my general vim workflow and presented it at the hamburg rails user group meeting . I didn’t quite manage to get it as smooth as I originally planned, but anyway you can find the slides here It was intended to be more like Andrei Zmievski VIM for (PHP) programmers but well, maybe next time. I’ll probably focus more on getting a fast WOW! effect on the listeners and then let them ask the questions themselves, instead of trying to explain everything and failing because I keep finding new, interesting things to show…

Read the rest of this entry »

Proper snippets for vim... wooohoooo!

For a very long time vim has had only snippets plugins, which were using nasty regex hacks to get TextMate like snippets going… Also related to the fact that vim for example does not move marks when you do any editing action. I.e. try putting a mark on a specific position in vim, then start deleting in front of the mark and the mark will still stay on the same column.

Read the rest of this entry »

 Scroll to top