Skip to content

vim-scripts/vim-sandwich

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=5178

sandwich.vim is the set of operator and textobject plugins to add/delete/replace surroundings of a sandwiched textobject, like (foo), "bar".

* add
    Press sa{motion/textobject}{addition}. For example, a key sequence saiw( makes foo to (foo).

* delete
    Press sdb or sd{deletion}. For example, key sequences sdb or sd( makes (foo) to foo. sdb searchs a set of surrounding automatically.

* replace
    Press srb{addition} or sr{deletion}{addition}. For example, key sequences srb" or sr(" makes (foo) to "foo".

Latest version: https://github.com/machakann/vim-sandwich

About

The set of operator and textobject plugins to edit sandwiched textobjects.

Resources

Stars

Watchers

Forks

Packages

No packages published