Vim: How to execute commands stored in a textfile opened in Vim

Posted by vbd on Super User See other posts from Super User or by vbd
Published on 2010-03-29T09:51:39Z Indexed on 2010/03/29 10:03 UTC
Read the original article Hit count: 970

Filed under:
|

I store, commands found at http://www.commandlinefu.com/commands/browse, in a text file. If I open this text file in Vim and I want to execute the command where the cursor is actually located I do copy the line with Y, switching to command mode with : and !CTRL+r* Is there a more "lazy" possibility ;)

© Super User or respective owner

Related posts about vim

Related posts about gvim