Hi, Is there a mechanism that allows a custom collection to be pre-defined so that it can be used in multiple substitutions?
For example: :s/[A-Z1234]/foo/g Here, something like AX4 would be replaced by foo, but not AX5, as the digit 5 is not part of the collection of characters. What I would like is to be able to define the range and re-use it in several substitutions, so as not to have to re-type it and to reduce likelyhood of errors: my_col = A-Z1234 :s/[my_col]/foo/g I am using Vim 7.1 on Windows XP. Thank you in advance - Todd --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
