Install the following packages, which are good to have installed:
sudo dnf install --allowerasing -y dnf-plugins-core \
(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) |
-- 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 |
<snippet> | |
<content><![CDATA[${1:fn}($SELECTION)]]></content> | |
<tabTrigger>WrapAsArg</tabTrigger> | |
<description>Wraps Selection With Function Call</description> | |
</snippet> |