Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sublime text 2: view find/search history

Is there a way to view the find/search history in Sublime Text 2?

In eclipse there is such a feature, see screenshot below. I'd expect something similar in sublime text 2.

eclipse "show previous searches" feature

like image 247
Adrien Be Avatar asked Jun 17 '14 13:06

Adrien Be


2 Answers

It should be the same in ST2, but in ST3 you can put your cursor in the Find (CtrlF/F) search field, and hitting the ­­↑ and arrow keys should scroll through the search history.

like image 170
MattDMo Avatar answered Oct 15 '22 14:10

MattDMo


You can also view the entire raw history (of searches, file/folder paths and more)

Open the file Session.sublime-session and search for find_history

On Mac OSX:
~/Library/Application Support/Sublime Text 3/Local/Session.sublime_session

On Windows, I'm not exactly sure but probably something like:
%AppData%\Sublime Text 3\Options\Session.sublime-session

like image 6
brandonjp Avatar answered Oct 15 '22 14:10

brandonjp