Thursday, August 25, 2011

Re: Autocommand event for new buffers including startup buffer

On Aug 25, 2:43 pm, Taylor Hedberg <tmhedb...@gmail.com> wrote:
> Ben Fritz, Thu 2011-08-25 @ 12:30:28-0700:
>
> > Just set b:loaded_delimitMate in your .vimrc. It will apply to the
> > first buffer.
>
> Good call, but it still won't apply to other "no name" buffers besides
> the first one though.
>

Does BufEnter work?

autocmd BufEnter * if !exists('b:created') | let b:created = 1 | let
b:loaded_delimitMate = 1 | endif

On the other hand, this is probably something to send to the plugin
author as a feature addition.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: