Loading ...
Sorry, an error occurred while loading the content.

Re: How to save all mappings, intelligently and temporarily.

Expand Messages
  • Antoine J. Mechelynck
    ... See ... HTH, Tony.
    Message 1 of 2 , Feb 26 12:48 PM
    • 0 Attachment
      Diego Kreutz wrote:
      > Hi,
      > 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,
      :help views-sessions
      :help :mksession
      :help :mkview
      :help 'sessionoptions'

    Your message has been successfully submitted and would be delivered to recipients shortly.