From: Reid Thompson Date: 2006-05-16T01:06:34+09:00 Subject: Re: Vim 7 insert-mode mappings Daniel Schierbeck wrote: > I've just started using Vim (yes, it's heresy...), and I'm absolutely > loving it -- but there are of course still things I haven't picked up > yet. > > One of those things is insert-mode mappings, as described at > RubyGarden [1]. In the section "Customising" there's a guide on how to > add such, namely this: > > imap end-cc > > which should be inserted into ftplugin/ruby_structure.vim. > > 1) ruby_structure.vim didn't already exist, so I created it. > Should it already have existed? > > 2) Nothing happens after I've added the snippet above to > ruby_structure.vim. Do I need to do more? > > > Daniel > > > > > [1] > while in insert mode, type begin i.e. after keypressing the 'n' in begin, press && hold the shift key and press enter