Compare commits

...

3 Commits

Author SHA1 Message Date
5b15963fb4
nvim: add more typst snippets 2024-04-17 21:56:33 -04:00
695269645b
nvim: switch 0, ^ 2024-04-17 21:55:55 -04:00
27da0b1d83
qutebrowser: add stylesheet 2024-04-17 21:55:21 -04:00
4 changed files with 25 additions and 3 deletions

View File

@ -45,6 +45,12 @@ vmap <tab>d "+d
nmap <tab>c "+c
vmap <tab>c "+c
" 0 is easier to reach so swap these binds
nnoremap 0 ^
nnoremap ^ 0
vnoremap 0 ^
vnoremap ^ 0
set shell=/bin/sh
hi Search cterm=NONE ctermfg=white ctermbg=blue

View File

@ -5,9 +5,21 @@ return {
--------------------------------
--------------------------------
s({ trig = "ss", desc = "superscript", wordTrig = false }, fmt("^({}) ", { i(1) })),
s({ trig = "qu", desc = "square (qu-artic) exponent", wordTrig = false }, t("^2 ")),
s({ trig = "cub", desc = "cub-ed exponent", wordTrig = false }, t("^3 ")),
s({ trig = "ss", name = "superscript", wordTrig = false }, fmt("^({}) ", { i(1) })),
s({ trig = "qu", name = "square (qu-artic) exponent", wordTrig = false }, t("^2 ")),
s({ trig = "cub", name = "cub-ed exponent", wordTrig = false }, t("^3 ")),
s({
trig = "numb",
name = "numbered equation",
wordTrig = false
},
fmt(
"#numbered_eq()[${}$ <{}>]",
{
i(1, "equation"),
i(2, "label")
})),
s({ trig = "link", desc = "labelled link" }, fmt('#link("{}{}")[{}]', {
i(1),

View File

@ -4,6 +4,7 @@ config.load_autoconfig()
c.window.transparent = True
c.content.user_stylesheets = ["~/.config/qutebrowser/style.css"]
c.colors.webpage.bg = "#444444"
c.colors.completion.category.bg = "#111111"
c.colors.completion.even.bg = "black"

View File

@ -0,0 +1,3 @@
body {
background: #000000;
}