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

Re: Is there a bug with map-expression?

Expand Messages
  • Christian Brabandt
    Hi, ... I see, thanks. Now reading the help again, it makes perfectly sense. Thanks Yegappan and A. regards, Christian -- A dirty mind is a joy forever. --
    Message 1 of 4 , Feb 14, 2008
    • 0 Attachment
      Hi,

      On Wed, 13 Feb 2008, A.Politz wrote:
      > Because your function Marker has no explicit return value, it will
      > return the default value, which is zero.
      > Your mapping
      > nmap <expr> m Marker(nr2char(getchar()))
      > executes as
      > nmap m 0
      > and 0 is a normal command, which moves to the first char in the
      > line.

      I see, thanks. Now reading the help again, it makes perfectly sense.
      Thanks Yegappan and A.

      regards,
      Christian
      --
      "A dirty mind is a joy forever."
      -- Randy Kunkee

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.