News for hackers. Stuff that matters.
Re:Vim Text Objects : The Definitive Guide by crazydiamond on Tuesday October 18, 2011 @02:57AM (#3124188)
Not clear what this does:

    " Stop it, hash key.
    inoremap # X<BS>#
I tried it too. It's in insert mode, so it types an X, backspaces and then types a '#'.
Re:Vim Text Objects : The Definitive Guide by looklookatme on Tuesday October 18, 2011 @04:36AM (#3124414)
I've got something similar in mine; The use-case is to allow indented comments (in languages where '#' is the comment delimiter)

Normally, when using auto-indent/smart-indent, pressing '#' on a blank line will change the column to zero, deleting any existing whitespace. By typing a character and deleting it, you override this behavior, allowing you to have comments at the same indentation level as the rest of the code.