github1s
github1s copied to clipboard
Replace should be disabled in read-only mode
If the files are read only the global search's replace function should be disabled. There's no use to it and it can be confusing to the user.
Note: This is a sub-issue of #125, which proposes disabling all unavailable functions.