Skip to content

Instantly share code, notes, and snippets.

@sri
sri / ff_new_buffer.py
Last active April 8, 2016 17:07
Have Sublime Text 3 open "Find in Files..." is a new buffer each time
import sublime, sublime_plugin
# Open "Tools" -> "New Plugin..." and paste this in. And save it.
# Although we reuse the name Find for each buffer, Sublime will
# open each one in a new "Find" buffer.
#
# NOTE: This will break other plugins that depend on the find results
# buffer being name "Find Results".
class FindInFilesNewBufferForEverySearch(sublime_plugin.EventListener):
def on_activated_async(self, view):