Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Find and Replace without having to click save

Tags:

When I do a global search/replace in a project, Sublime will automatically open all the files involved, and not save them. I then have to manually save every single file.

Is there a way to have Sublime automatically save all the changes that have been done, and not open the files that where not previously open?

Thanks in advance for anyone who can help me with this.

http://www.sublimetext.com/forum/viewtopic.php?f=3&p=40348

like image 325
Leland Smith Avatar asked Apr 03 '14 05:04

Leland Smith


People also ask

How do I find and replace in Sublime Text?

Or, if you want to find and replace text in a number of files at once, press Command + Shift + F or Control + Shift + H to open Sublime Text's Find in Files tool that can search and replace across as many files as you have open or select from its menu.

Does sublime save automatically?

Setting up Sublime's autosave People often forget to save files (I've been guilty of it myself), autosave will make sure your files are saved, even if you forget.

How do I save sublime text automatically?

You can press Command + Shift + P to bring up the Command Palette, and search for AutoSave. Here, there are 3 options: Toggle AutoSave: all files.


1 Answers

I think it's Option + Command + S(Mac) or Command + Alt + S(Win).

like image 181
Dunken Avatar answered Dec 25 '22 06:12

Dunken