I’m starting to setup my basic Vim bindings with command_mode. However, I can’t figure out how to have the find panel open with command_mode off. How do I get access to the find panel’s settings? I’m guessing the following doesn’t work because the active_view isn’t the find panel until it’s shown, but once I show it my script stops until it returns:
[code]import sublime, sublime_plugin
class SearchInsert(sublime_plugin.WindowCommand):
def run(self, *args):
self.window.active_view().settings().set(‘command_mode’, False)
self.window.run_command(‘show_panel’, {‘panel’: ‘find’})[/code]
Thanks!