*Tested in Windows 8
Open/Goto
- ctrl+p: go to anything
- ctrl+t: go to file
- ctrl+ctrl+p: go to project
[ | |
[:app "cmd-k-cmd-b" :workspace.show] | |
[:app "ctrl-`" :toggle-console] | |
[:editor "alt-w" :editor.watch.watch-selection] | |
[:editor "alt-shift-w" :editor.watch.unwatch] | |
[:editor "pmeta-/" :toggle-comment-selection] | |
[:editor "pmeta-/" :toggle-comment-selection] | |
[:editor "ctrl-shift-up" :editor.sublime.selectLinesUpward] | |
[:editor "ctrl-shift-down" :editor.sublime.selectLinesDownward] | |
[:editor "pmeta-d" :editor.sublime.selectNextOccurrence] |
// SmoothScroll for websites v1.2.1 | |
// Licensed under the terms of the MIT license. | |
// People involved | |
// - Balazs Galambosi (maintainer) | |
// - Michael Herf (Pulse Algorithm) | |
(function(){ | |
// Scroll Variables (tweakable) |
// Original code from http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ | |
var metas = document.getElementsByTagName('meta'); | |
var i; | |
if (navigator.userAgent.match(/iPhone/i)) { | |
for (i=0; i<metas.length; i++) { | |
if (metas[i].name == "viewport") { | |
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; | |
} | |
} |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |