Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2: Disable 'Goto Anything' Preview

Is there a way to disable the document preview when using Goto Anything / Ctrl+P in Sublime Text 2?

I've done a lot of searching but the most recent information I've found seems to be a bit old (such as http://www.sublimetext.com/forum/viewtopic.php?f=3&t=5895) and for the most part only related to disabling preview from a single click in the sidebar.

I would like to use Ctrl+P to open files by typing in their path, but having a dozen or so files flash open for a second is annoying; plus, frequently I'm typing in a path from the file open in the current tab, and once preview comes up I can't see the path any more.

Thanks!

like image 201
Kami's Aibou Avatar asked Jul 23 '13 19:07

Kami's Aibou


1 Answers

I am not entirely positive you really can disable it entirely, as it is something that works as part of the editor.

The only settings related to the preview I can find are "preview_on_click" and it specifically makes mention of the sidebar. I am not aware of this having any effect on the goto anything overlay.

The one other thing dealing with the goto anything overlay and previews, is the "binary_file_patterns" setting, but this will probably tell st2 to treat any file you specify in there as binary... not sure we want that.

like image 122
EffectiX Avatar answered Sep 21 '22 04:09

EffectiX