Yankitute : Regex powered yank+substitute
| script karma
Downloaded by 1198
Comments, bugs, improvements
script versions (upload new version)
|GitHub repository: https://github.com/idanarye/vim-yankitute
Yankitute combines the yank and substitute Vim commands into one. Like substitute, it searches for a pattern in the buffer and transforms all matches using a format string supplied by the user. But instead of replacing the text in the buffer with the transformed matches, it acts like yank and copies the transformed matches into a register.
Click on the package to download.
ip used for rating: 220.127.116.11
||Use :substitute behind the scenes:
- more :s_flags can be handled
- respects gdefault
- pattern can use \zs and \ze
- replacement can use sub-replacement aka \=
- provide error detection