Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore. The list of supporting software reflects the known state as of this date. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
// Here is an extremely simple version of work scheduling for multiple | |
// processors. | |
// | |
// The Problem: | |
// We have a lot of numbers that need to be math'ed. Doing this on one | |
// CPU core is slow. We have 4 CPU cores. We would thus like to use those | |
// cores to do math, because it will be a little less slow (ideally | |
// 4 times faster actually). | |
// | |
// The Solution: |
@-moz-document url-prefix(https://news.ycombinator.com) { | |
.comment { | |
font-family: Alegreya, serif !important; | |
font-size: 15pt !important; | |
} | |
.comment code { | |
font-family: Inconsolata-g, fixed !important; | |
font-size: 10pt !important; | |
} |
{ | |
"cmd": ["go build"], | |
"selector": "source.go", | |
"path": "/usr/local/go/bin", | |
"working_dir": "${file_path}", | |
"shell": true, | |
"file_regex": "^([^:\n]+):([0-9]+)", | |
"variants": [ |
[ | |
{ "keys": ["f9"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["ctrl+f9"], "command": "alignment" }, | |
// from Ctags | |
{ "keys": ["f12"], "command": "navigate_to_definition" }, | |
{ "keys": ["shift+f12"], "command": "show_symbols" }, | |
{ "keys": ["ctrl+f12"], "command": "jump_back" }, | |
{ "keys": ["ctrl+shift+f12"], "command": "show_symbols", "args" : {"type": "multi" } }, | |