Created
February 24, 2016 09:26
-
-
Save giulioungaretti/ef667295fad6207cd5ae to your computer and use it in GitHub Desktop.
but
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
com! -nargs=* SR call SearchReplaceBuffers(<f-args>) | |
:function! SearchReplaceBuffers(search, replace) | |
:bufdo! %s/a:search/a:replace/ge | |
:endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment