I have many similar files where I want to be able to edit them all at once. Like with multiple cursors on one file but with single cursors on a couple of files. How can I do this?
To do so, you need to press Ctrl+K, then Ctrl+Shift+Up. You can repeat as many times as you like. Press Ctrl+K, then Ctrl+Shift+Up to open a new sub-window.
To start, create a new group. Go to Replace > Add Group, and give your group a name. Right-click your group and select Add File(s)… to add the files and/or folders you want to edit. In the Files / Folder Properties, select your Source Type, i.e., a single file or folder, then choose the Source File / Folder Path.
To view two row (horizontal) panes side-by-side use the shortcut SHIFT-ALT-UP-2 (PC) or SHIFT-OPTION-⌘-2 (Mac). Replace the last stroke with “3” to view three panes respectively. If you want to split a pane further, you can use ST3's “Group” feature.
Now all opened tabs will be close with out exiting Sublime Text by using Ctrl + Alt + Shift + W .
You could use ctrl + shift + f
to bring up the find in files
panel and simultaneously update files that contain the same find
search term, however it is a blind search/replace function.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With