How does one find and replace text in all open files with gedit?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
This is not possible with a stock gedit; there's an open ubuntu brainstorm idea for adding the ability. However, there are plugins that add it, such as advanced-find. If you install that, one of the sections on the "Advanced Find/Replace" dialog is "Scope"; choose "All Opened Documents":
|
|||
|
|
|
Generally people who want to do this write an ed script and run it against all the files. E.g.:
And then run it like this
You can also use an |
|||
|

