This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime, sublime_plugin, os, re | |
| class FileNameComplete(sublime_plugin.EventListener): | |
| def on_query_completions(self, view, prefix, locations): | |
| completions = [] | |
| sel = view.sel()[0].a | |
| if "string" in view.syntax_name(sel): | |
| pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sublime, sublime_plugin | |
| #add a keybinding for deselect set to enter | |
| class DeselectCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| end = self.view.sel()[0].b | |
| pt = sublime.Region(end, end) | |
| self.view.sel().clear() | |
| self.view.sel().add(pt) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [ | |
| { | |
| "args": { | |
| "token_type": "char", | |
| "cmd" : "toggle" | |
| }, | |
| "command": "volcanise", | |
| "context": [], | |
| "keys": [ | |
| "ctrl+," |
NewerOlder