# Generic plugin that just stacks up several ST native commands
# It is a workaround for using multiple commands which are inaccessible with macros (for example, search, save, close etc.)
# I use this plugin to quickly refer to a SCSS variable value
import sublime, sublime_plugin

class FindFirstInstance(sublime_plugin.TextCommand):
	def run(self, edit):
		self.view.window().run_command('slurp_find_string')
		self.view.window().run_command('move_to bof')
		self.view.window().run_command('find_next')