vim tips for D development

simendsjo simendsjo at gmail.com
Sun Feb 19 12:09:58 PST 2012


On Sun, 19 Feb 2012 17:00:37 +0100, Kiith-Sa <42 at theanswer.com> wrote:

> On Sunday, 19 February 2012 at 13:37:19 UTC, simendsjo wrote:
>> A question for the vim users out there: What plugins etc are you using  
>> when writing D code?
>> I'm using the patched ctags, updated d.syntax and snipMate, but are  
>> there other good plugins I could use?
>
> I use SnipMate with many custom snippets
> (I can post some if you want, but many are specific to my projects)
>
> I also use: ack          (better grep) ConqueTerm   (terminal inside Vim)
> supertab     (tab completion)
> session      (sessions, duh)
> autoComplPop (automatically shows completion popup when writing,
>                so you just press Enter to complete)
>
> and apparently some other plugins, but I don't remember what those do.
>
> Also persistent undo and various other .vimrc settings.

Thanks. supertab and autoComplPop seems really nice.

A couple of other stuff to add to the list:
surround, delimitMate
and "smart semicolon" in .vimrc: inoremap <leader>; <C-o>A;<cr>

It would be great if you could share your snippet file even if it's quite  
specific for your projects. Would be great even if only serving as an  
example.


More information about the Digitalmars-d-learn mailing list