Script Roundup: En Masse, vim-expand
En Masse
Published in
1 min readJan 15, 2015
En Masse (GitHub: Wolfy87/vim-enmasse) by Oliver Caldwell is for those of you who like to work with the quickfix list. Given a quickfix list, :EnMasse
will open a new buffer that contains each of the lines. You can edit these lines in the same buffer. When you save, each of the relevant files will be updated.
The project includes tests and documentation.
vim-expand
vim-expand (GitHub: Wolfy87/vim-expand), also by Oliver Caldwell, allows text to be expanded based on Visual mode selections. It uses the expand function.
Oliver’s example expands this function:
function {add,remove}User() {
// ...
}
Into two:
function addUser() {
// ...
}function removeUser() {
// ...
}To invoke it, just type :Expand when a selection has been made.