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

34889Mapping with count

Expand Messages
  • kbosau@web.de
    Dec 2, 2002
    • 0 Attachment
      Hi,

      I'd like to create a normal mode mapping one
      can control by a number that has to be typed
      in prior to hitting the mapped key...

      function! f()
      Do something dependent of the
      value of the number that has
      been typed prior to hitting 'z'
      endfunction

      nmap z :call f()<Cr>

      for instance should define a normal mode
      command '34z'.

      How can I achieve this?

      Thanks in advance!

      Klaus
    • Show all 9 messages in this topic