Last active
April 13, 2017 09:14
-
-
Save SathyaBhat/fd88ab6b65c8792c924ae9cacd35e46e to your computer and use it in GitHub Desktop.
vim bufdo example
This file contains 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