Technology is supposed to be fun ...

11/8 2007

Posted: November 8th, 2007 | Author: | Filed under: .bash_history | Tags: | No Comments »

Here is one neat little vim trick


def some_method
   return bla
end

These vim mappings allow you to quickly comment a block of code in VISUAL mode by pressing ,# or any other key command you prefer


#def some_method
#  return bla
#end

And pressing ,c removes them again.


def some_method
   return bla
end


Comments are closed.