This file contains 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 | |
import sublime_plugin | |
class CursorCommand(sublime_plugin.TextCommand): | |
saved_cursors_map = {} | |
def run(self, edit, action="add"): | |
view = self.view | |
cursors = view.sel() | |
view_id = view.id() |
This file contains 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 | |
import sublime_plugin | |
import re | |
class CustomMoveToEndLineCommand(sublime_plugin.TextCommand): | |
prev_cursors_list = [] | |
custom = True | |
def run(self, edit, extend=False): |
This file contains 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
{ | |
"fileTypes": [ | |
"dot", | |
"DOT" | |
], | |
"foldingStartMarker": "\\{", | |
"foldingStopMarker": "\\}", | |
"keyEquivalent": "^~G", | |
"name": "Graphviz (DOT)", | |
"patterns": [ |
This file contains 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
[ | |
{ "keys": ["ctrl+p"], "command": "previous_keyword_match", "context": | |
[ | |
{ "key": "auto_complete_visible", "operator": "equal", "operand": true } | |
] | |
}, | |
{ "keys": ["ctrl+n"], "command": "next_keyword_match" } | |
] |
This file contains 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
""" | |
MIT License | |
Copyright (c) 2013 Scott Kuroda <scott.kuroda@gmail.com> | |
""" | |
import sublime | |
import os | |
import zipfile | |
import tempfile | |
import re |