Last active
April 13, 2017 09:14
vim bufdo example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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