Tagged Questions
1
vote
3answers
294 views
Is it possible to execute a VIM script in a non-interactive mode?
The Gnats bug tracker has a command (edit-pr) that opens a ticket in $EDITOR. My $EDITOR is VIM, and when this command opens the ticket in $EDITOR, I'd like to automatically perform some scripted ...
2
votes
1answer
146 views
vim script: how to change “put =” to an append?
I'm trying to hack the c-vim plugin because I don't like the way it inserts comments. I want this:
/* comment */
but it gives me this:
/* comment
*/
I'm sure it has its reasons, but I don't ...
2
votes
2answers
281 views
How to do a text replacement in a big folder hierarchy?
I want to search and replace some text in a large set of files excluding some instances. For each line, I want a prompt asking me if I need to replace that line or not.
Something similar to vim's ...