Skip to content

Write AddBundle command. #9

@jmkogut

Description

@jmkogut

It will edit ~/.vim/bundles.vim and do the following:

GG?^Bundle<cr>Vypci'<Esc>"bp:w<cr>

Which copies the last uncommented line, pastes it below, and execs "change inner [singlequote]" at which point it pastes the string you supplied from the buffer labeled "b" then writes out our changes.

On bufwrite of this bundle file, run SetModified which just touches ~/.vim/MODIFIED. Then quit, so setup will run on next load.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions