|
---: | :---
cmd–r | (goto symbol) allows you to move between headers easily in a markdown document
cmd–p | (goto anything) then # then searchterm to jump to next occurrence in the current document
ctrl–minus | jump back to previous cursor location (sublime text 3–only)
cmd-ctrl-shift-f | fullscreen mode (I bind this to hyper2-return)
cmd–ctrl–p | switch project within window (make some projects to hold collections of files/folders that you use together) — though in practice am using two windows (often placed directly over each other) for two different projects and switching between them using cmd–`
cmd–d | select word, repeat to use multiple cursors to select subsequent words/phrases
cmd–u | unselect word/phrase
cmd–k–d | (sequential k then d) to skip to next candidate. left or right to move cursors within selected word
cmd–ctrl–g | select all occurrences of word/phrase
cmd–click | non–successive lines start multiple cursor, or
cmd–shift–L | highlight column with cursor then cmd–shift–L to start column–mode multiple cursor (useful if you want to edit multiple lines at specified places). you can move the cursors as you would a normal cursor e.g. cmd–left to go to the beginning of the line (if you have text running across multiple lines you might want to do cmd–left a few times to ensure it really is the beginning of the line rather than the beginning of the wrapped line)
tab | autocompletion — be careful with this!
cmd–number | switch to tab
modify by going into sublime text preferences — browse packages
my user preferences:
{
"caret_style": "solid",
"color_scheme": "Packages/User/makiaea.tmTheme",
"font_face": "AvenirNext-UltraLight",
"font_size": 11.0,
"gutter": false,
"line_numbers": false
}
my distraction free preferences; note the larger font size
{
"font_size": 24,
"wrap_width": 0
}
my VBScript.sublime-settings (lots of comments in the code, so word wrap is on…)
{
"gutter": true,
"line_numbers": true,
"wrap_width": 0,
"word_wrap": "true"
}
my current theme is based on a custom solarized dark theme with markdown highlighting and is stored in
/Users/maki/Library/Application Support/Sublime Text 3/Packages/User/makiaea.tmTheme
you can create your own shortcuts to projects or even open them from the command line e.g. for sublime text 3:
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /Users/maki/Documents/Dropbox/datafiles/20130416maki.sublime-project
package for highliting for VBScript syntax
smartmarkdown sublime3 package for moving between and folding (markdown) headlines. install by downloading zip from github, renaming directory to "SmartMarkdown", then placing directory into
/Users/yourusername/Library/Application Support/Sublime Text 3/Packages/
NB assumes #(space)headers, not #header as we are using. shortcuts:
|
---: | :---
tab | toggle smart folding (when used within a header)
shift-tab | global toggle all folding (i use this often for navigation as i don't always remember the headings of all files)
cmd-shift-, | decrease header level
cmd-shift-. | increase header level
ctrl-c ctrl-n | move to next (any) headline
ctrl-c ctrl-p | move to previous (any) headline
ctrl-c ctrl-f | move to next same-or-higher-level headline
ctrl-c ctrl-b | move to previous same-or-higher-level headline
Set marked to open current (markdown) file, processed (uses build, shortcut cmd-b)