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

96660Re: BUG: Unicode characters in commands

Expand Messages
  • John Hughes
    Oct 2 5:32 AM
      I have just discovered a slightly better work around that allows
      Unicode characters to be used in commands. Simply make the
      substitution command part of a function, for example:

      :fu Ellipsis()
      :s/\.\.\./…/eg
      :endf

      You can then turn put the function in a command:

      :com -range=% Ellipsis <line1>,<line2>call Ellipsis()

      A little more work than the command in my original post, but the end
      result is what I wanted.

      I hope that helps someone.

      John

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 3 messages in this topic