Skip to content

Instantly share code, notes, and snippets.

@SathyaBhat
Last active April 13, 2017 09:14
vim bufdo example
Snippet to replace a sentence across multiple buffers in Vim. The `update` writes the changes to the file.
bufdo %s/depends 'mysql2_chef_gem', '\~> 1.0.1'// | update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment