Mahmoud Fahmy
Mahmoud Fahmy

Reputation: 11

Replace-all-occurences keyboard shortcut for Atom under Linux

In Mac OS X Ctrl+Cmd+g replaces a word in the whole file. What's the alternative to that in Linux?

I tried to check the keybindings, but no luck.

Upvotes: 1

Views: 409

Answers (2)

Fab313
Fab313

Reputation: 2288

Using ctrl + e when you are on a word will open the find and replace panel for this word.

Then use tab to go into the "replace in current buffer field", type your replacement word.

Finally, hit enter to replace the occurrences one by one, or ctrl + enter to replace all.

Upvotes: 1

XYZ
XYZ

Reputation: 27447

You can use Command+. to active the Key Binding Resolver to look for the actual function bound to the shortcut on your Mac and search the function on Linux Atom to figure out what the key combination is.

Alternatively, your can search all your key binding here (see screenshot below) which accept both key combination and command name.

enter image description here

Upvotes: 1

Related Questions