On Wed, Apr 22, 2009 at 9:38 AM, Tim Chase <[email protected]> wrote: > > Matt Wozniski wrote: >>> :map >>> >>> which may indicate that you have an insert-mode mapping for "%" >> >> That should be >> >> :map! >> >> Note the exclamation point. > > Just out of curiosity, what does the "!" net you? I don't use > mappings often enough (I only have [cni]noremap'ed <f1> to <esc> > on my machines because I accidentally mash <f1> when stabbing for > <esc>, particularly on my laptops) to have needed the nuances, > and couldn't discern the difference from the help on mappings. > > I read up at > > :help mapmode-ic > > where it details that > > Therefore the ":map" and ":map!" commands enter and > display mappings for several modes. > > and just above the help for > > :help :map_l > > I read > > Note that ":map" and ":map!" are used most often, > because they include the other modes. > > but neither details the difference between the two.
Check out :help map-modes > When I run both commands without parameters, I see different > results, but I'm not sure what sifts some of my mappings into one > or the other. :map lists normal, visual, select, and operator pending mappings, :map! lists insert, command line, and language mappings. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
