I wondered if anyone can show me how to write something for commenting better than what I was able to do:
<F9> :.,$s/^## // Replaces ^ with '## ' from current position to end of file How can I write something that will do that same thing but for limited area? The Dollar sign needs to be replaced somehow with the position I want, so that <F9> followed by $LineNumber causes that line number to be used where the Dollar sign is, in my setting above. I'm not stuck on <F9> if that causes problems... any manageable key combo would do. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
