Re: Vanilla Vim with D

2016-06-18 Thread Dlangofile via Digitalmars-d-learn

On Saturday, 18 June 2016 at 12:36:04 UTC, Adam D. Ruppe wrote:

On Saturday, 18 June 2016 at 07:55:41 UTC, Dlangofile wrote:

- compile from inside (rdmd or dmd right now)
- jump in the code fixing the compilation errors?


:set makeprg=rdmd\ %


Do that to setup, then just

:make

to tell it to run that command and jump around to the errors it 
sees.


Thank you Adam, so I'm going to learn about the quickfix...



Re: Vanilla Vim with D

2016-06-18 Thread Adam D. Ruppe via Digitalmars-d-learn

On Saturday, 18 June 2016 at 07:55:41 UTC, Dlangofile wrote:

- compile from inside (rdmd or dmd right now)
- jump in the code fixing the compilation errors?


:set makeprg=rdmd\ %


Do that to setup, then just

:make

to tell it to run that command and jump around to the errors it 
sees.


Vanilla Vim with D

2016-06-18 Thread Dlangofile via Digitalmars-d-learn

Hi to all,

I'm trying to approach Vim as an editor for D, starting from 
scratch...
I've a pretty vanilla vimrc, and only CtrlP as a plugin: not a so 
bad experience right now!


First question, what's the best, simplest and fast approach for:

- compile from inside (rdmd or dmd right now)
- jump in the code fixing the compilation errors?

Thanks vim guys!

/DF