[slim-vim] The "right" way of doing file specific things in vim

Larry Clapp larry at theclapp.org
Tue Aug 8 07:42:54 CDT 2006


On Tue, Aug 08, 2006 at 08:20:10AM -0400, Larry Clapp wrote:
> On Sat, Aug 05, 2006 at 10:30:26AM -0700, Brad Beveridge wrote:
> > At the moment my pet peeve is that if I start Vim by editing a
> > lisp file and then source ecl-slime.vim, they keymappings aren't
> > active for the already open file until I issue the :e! command.
> 
> I agree.  Again, I'll fix it when I can, or someone can submit diffs
> or patches.

Well, it didn't take long.  Luckily Bram (et al) thought of this, too.

The complete patch is:

--- 8< cut ---
{
hunk ./ecl-slime.vim 179
+
+doautoall slim_vim BufRead
}
--- >8 cut ---

:)

-- Larry



More information about the slim-vim mailing list