Hi,
I am asking here because I am not sure myself how to google it.
I tried with something similar to the subject of this email, but no
luck. That, or I didn't actually understand what I found.
Let's say, and this is not my real need but a very clear example, I
want to write an abbreviation that converts, when writing python code:
class
into
class (object):
But I only want that to works when string "class" is being printed at
the beginning of a line.
I don't want the replacement to happen when I am writing the docstring
like "This is a class that does this and that".
Is it possible?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment