Re: How to save all mappings, intelligently and temporarily.
- Diego Kreutz wrote:
> I'm having a little trouble trying to save temporarily all mappings
> (nmap, imap, map, vmap and cmap). My problem is that I use a lot of
> mapping and abbreviation stuffs. But, sometimes I need to disable
> almost all of them for some short period of time.
> Actually, I'm getting what I need by having an auxiliary source file
> containing the
> mappings I use. Then I just execute some [prefix]mapclear functions,
> do special stuffs
> during some short period of time, and then I just load again the
> source file. It works.
> But I'd like to know if there aren't other (maybe more intelligent)
> solutions. For example:
> save temporarily all imaps and vmaps and just after some time "reload" them.
> Today I have all kinds of mapping defined into the source file. So,
> I'll reload all them
> everytime I execute a "source" command on the file.
> I would really appreciate some ideas.
> Thanks in advance,