Re: Compile and Run Java Projects

2016-10-18 Thread Luis Henriquez-Perez
On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > I am using vim to code my java projects. I've been noticing I've been jumping > back to the terminal a lot to compile and run my code. So I want to create a > function that does all this for me (and gets rid of the

Re: Compile and Run Java Projects

2016-10-18 Thread Luc Hermitte
Hi, You should instead use the integrated :make/quickfix feature of vim. You'll have a much better user experience. First be sure that you have set javac as the make program. It's best done by sourcing compiler/javac.vim -> :runtime compiler/javac.vim I would have done it in a java ftplugin,

Re: Compile and Run Java Projects

2016-10-17 Thread Luis Henriquez-Perez
On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > I am using vim to code my java projects. I've been noticing I've been jumping > back to the terminal a lot to compile and run my code. So I want to create a > function that does all this for me (and gets rid of the

Re: Compile and Run Java Projects

2016-10-17 Thread Luis Henriquez-Perez
On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > I am using vim to code my java projects. I've been noticing I've been jumping > back to the terminal a lot to compile and run my code. So I want to create a > function that does all this for me (and gets rid of the

Re: Compile and Run Java Projects

2016-10-17 Thread Eric Christopherson
On Mon, Oct 17, 2016, Luis Henriquez-Perez wrote: > On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > > I am using vim to code my java projects. I've been noticing I've been > > jumping back to the terminal a lot to compile and run my code. So I want to > > create a

Re: Compile and Run Java Projects

2016-10-17 Thread Luis Henriquez-Perez
On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > I am using vim to code my java projects. I've been noticing I've been jumping > back to the terminal a lot to compile and run my code. So I want to create a > function that does all this for me (and gets rid of the

Re: Compile and Run Java Projects

2016-10-17 Thread Eric Christopherson
On Mon, Oct 17, 2016, Luis Henriquez-Perez wrote: > On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > > I am using vim to code my java projects. I've been noticing I've been > > jumping back to the terminal a lot to compile and run my code. So I want to > > create a

Re: Compile and Run Java Projects

2016-10-17 Thread Luis Henriquez-Perez
On Monday, October 17, 2016 at 6:08:35 PM UTC-4, Luis Henriquez-Perez wrote: > I am using vim to code my java projects. I've been noticing I've been jumping > back to the terminal a lot to compile and run my code. So I want to create a > function that does all this for me (and gets rid of the

Compile and Run Java Projects

2016-10-17 Thread Luis Henriquez-Perez
I am using vim to code my java projects. I've been noticing I've been jumping back to the terminal a lot to compile and run my code. So I want to create a function that does all this for me (and gets rid of the class files afterwards). The code below is my attempt. Could someone let me know how