jinxjinx wrote:
how can i get vim to run these commands when i type make? $ javac TestT.java $ gcj -g --main=TestT -o TestT TestT.classright now i use this to compile java set makeprg=javac\ % set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%#but i want to be able to debug java with gdb (jdb sucks) thanks
(untested) :new ~/bin/javacomp #!/bin/bash javac $1.java gcj -g --main=$1 -o $1 $1.class :!chmod 755 ~/bin/javacomp :set makeprg=javacomp\ %:r Best regards, Tony.