Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
<snippet> | |
<content><![CDATA[${1:fn}($SELECTION)]]></content> | |
<tabTrigger>WrapAsArg</tabTrigger> | |
<description>Wraps Selection With Function Call</description> | |
</snippet> |
-- u/linuxFoolDumDum | |
-- https://www.reddit.com/r/awesomewm/comments/nph6ew/i_made_a_module_to_automatically_lightendarken/ | |
local M = {} | |
-- Rounds to whole number | |
local function round(num) | |
return math.floor(num + 0.5) | |
end | |
-- Rounds to hundredths |
(with-eval-after-load 'org | |
(defvar-local rasmus/org-at-src-begin -1 | |
"Variable that holds whether last position was a ") | |
(defvar rasmus/ob-header-symbol ?☰ | |
"Symbol used for babel headers") | |
(defun rasmus/org-prettify-src--update () | |
(let ((case-fold-search t) |