Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My Sublime Keymap Extras
1 [
2 // ++++++++++++++++++ SUBLIME ++++++++++++++++++
3
4 //::: Toggle Views
5
6 //>>> Minimap
7 // { "keys": ["ctrl+t"], "command": "toggle_minimap" },
8
9 //>>> Sidebar
10 { "keys": ["ctrl+\\"], "command": "toggle_side_bar" },
11
12 //::: Selection To URL
13
14 //>>> Expand Selection to Brackets.
15 { "keys": ["ctrl+alt+u"], "command": "expand_selection", "args": {"to": "brackets"} },
16
17 //::: Title Case
18
19 //>>> Highlight Desired Text, (space deleminited) each new word int he higlight will get it's first letter capitalized.
20 { "keys": ["ctrl+alt+t"], "command": "title_case" },
21
22 //::: Folders to Project
23
24 //>>> Open a new sublime window, add a folder to it as a starting project.
25 { "keys": ["ctrl+alt+shift+n"], "command": "prompt_folder_add","args" : {"new_window": "y"}},
26
27 //>>> Add folder to current project
28 { "keys": ["ctrl+shift+insert"], "command": "prompt_folder_add"},
29
30 //>>> Remove Folder from current project.
31 { "keys": ["ctrl+alt+shift+u"], "command": "prompt_folder_remove"},
32
33 //::: Close File
34 { "keys": ["ctrl+f4"], "command": "close_file" },
35
36 // ++++++++++++++++++ KEYMAP ++++++++++++++++++
37
38 //>>> The cheatsheets for keymaps
39 { "keys": ["shift+ctrl+i"], "command": "cheat_sheet" },
40
41 // ++++++++++++++++++ PICO 8 ++++++++++++++++++
42
43 // Pico 8 View API, WIKI, andBBS
44 { "keys": ["shift+alt+-"], "command": "open_url", "args": {"url": "http://neko250.github.io/pico8-api"} },
45 { "keys": ["shift+alt+i"], "command": "open_url", "args": {"url": "http://pico-8.wikia.com/wiki/Pico-8_Wikia"} },
46 { "keys": ["shift+alt+c"], "command": "open_url", "args": {"url": "http://www.lexaloffle.com/bbs/?cat=7"} },
47 { "keys": ["shift+alt+o"], "command": "open_url", "args": {"url": "http://pico-ate.com"} },
48 { "keys": ["ctrl+shift+alt+8"], "command": "open_url", "args": {"url": "http://www.brandimorton.com/tiny/demo-man/"} },
49
50
51 // Pico 8 Run Cart
52 { "keys": ["f8"], "command": "pico_run_cart" },
53
54 // Pico 8 Run Cart
55 {
56 "keys": ["ctrl+f8"],
57 "command": "open_file",
58 "args": { "file": "${packages}/User/PICO-8.sublime-settings" }
59 },
60
61 // ++++++++++++++++++ GML ++++++++++++++++++
62 //>>> Open Documentation For GMS1
63 { "keys": ["alt+shift+f1"], "command": "open_url", "args": {"url": "https://docs.yoyogames.com/"} },
64
65 //>>> Open Documentation For GMS2
66 { "keys": ["alt+shift+f2"], "command": "open_url", "args": {"url": "https://docs2.yoyogames.com"} },
67
68
69 // ++++++++++++++++++ AMULET ++++++++++++++++++
70 //>>> Open Documentation For Amulet
71 { "keys": ["alt+shift+f3"], "command": "open_url", "args": {"url": "https://www.amulet.xyz/doc/"} },
72 { "keys": ["ctrl+shift+alt+b"], "command": "build", "args": {"select": true} },
73 { "keys":["ctrl+alt+;"], "command": "build", "args":"AMULET"},
74
75 // ++++++++++++++++++ MARKDOWN ++++++++++++++++++
76
77 //>>> MARKDOWN PREVIEW
78 { "keys": ["ctrl+alt+shift+m"], "command": "markdown_html_preview" },
79
80 // ++++++++++++++++++ CSS ++++++++++++++++++
81
82 //>>> CSS LINTER
83 { "keys": ["ctrl+alt+l"], "__doc__": "Run CSSLint", "command": "csslint"} ,
84
85 // ++++++++++++++++++ PYTHON ++++++++++++++++++
86
87 //::: SUBLIME PYTHON IDE
88
89 ///>>> Get Python Documentation on Highlighted Text
90 { "keys": ["ctrl+f7"], "command": "python_get_documentation" },
91
92 // ++++++++++++++++++ GITHUB ++++++++++++++++++
93
94
95 //>>> INIT
96 { "keys": ["ctrl+5"], "command": "git_init" },
97
98 //>>> STATUS
99 { "keys": ["ctrl+6"], "command": "git_status" },
100
101 //>>> GUI
102 { "keys": ["alt+g"], "command": "git_gui" },
103
104 //>>> NEW BRANCH
105 { "keys": ["ctrl+alt+b"], "command": "git_new_branch" },
106
107 //>>> CHANGE BRANCH
108 { "keys": ["ctrl+alt+shift+pageup"], "command": "git_new_branch" },
109
110 //>>> ADD SELECT FILE
111 { "keys": ["alt+insert"], "command": "git_add_choice" },
112
113 //>>> ADD CURRENT FILE
114 { "keys": ["alt+a"], "command": "git_raw", "args": { "command": "git add", "append_current_file": true }},
115
116 //>>> COMMIT CURRENT FILE
117 { "keys": ["ctrl+alt+shift+="],"command": "git_quick_commit" },
118
119 //>>> SHOW PREVIOUS VERSION OF FILE
120 { "keys": ["alt+shift+f"], "command": "git_show" },
121
122 // ++++++++++++++++++ URL OPEN ++++++++++++++++++++++
123
124 //>>> OPEN WIKIPEDIA SEARCH
125 { "keys": ["shift+alt+w"], "command": "open_url", "args": {"url": "https://en.wikipedia.org/wiki/Special:Search?search="} },
126
127 //>>> OPEN AHK SEARCH
128 { "keys": ["shift+alt+h"], "command": "open_url", "args": {"url": "https://www.autohotkey.com/docs/AutoHotkey.htm"} },
129
130 // ++++++++++++++++++ NODE JS STUFF ++++++++++++++++++++++
131 {"keys":["ctrl+shift+alt+i"], "command": "simple_require"},
132
133 {"keys":["ctrl+shift+alt+d"], "command": "node_drun"},
134
135 {"keys":["ctrl+shift+alt+r"], "command": "node_run"},
136
137 {"keys":["ctrl+shift+y"], "command": "node_run_arguments"},
138
139 // ++++++++++++++++++ LOVE2D ++++++++++++++++++++++
140
141 {"keys":["ctrl+shift+l"], "command":"LuaLove", "args":"Love2D"},
142
143 // PicoRunCart
144 // { "keys": ["f8"], "command": "pico_run_cart" },
145 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.