Compare commits
No commits in common. "8609b36ce58ca7b6c4c34db7a3576773b788473d" and "ff587c5f9ae0d295fec1a9ee0b2a3fbbc54efea6" have entirely different histories.
8609b36ce5
...
ff587c5f9a
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
[Default Applications]
|
|
||||||
application/pdf=org.pwmt.zathura.desktop
|
|
@ -263,16 +263,10 @@ if $SYSTEM_PROFILE == "DEFAULT"
|
|||||||
let g:ackprg = 'rg --vimgrep --smart-case'
|
let g:ackprg = 'rg --vimgrep --smart-case'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" URL motions
|
|
||||||
Plug 'axieax/urlview.nvim'
|
Plug 'axieax/urlview.nvim'
|
||||||
|
|
||||||
" fancy motions
|
|
||||||
Plug 'ggandor/leap.nvim'
|
Plug 'ggandor/leap.nvim'
|
||||||
|
|
||||||
" bracket closing
|
|
||||||
Plug 'jiangmiao/auto-pairs'
|
|
||||||
let g:AutoPairsShortcutToggle = "@@"
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
if $SYSTEM_PROFILE == "DEFAULT"
|
if $SYSTEM_PROFILE == "DEFAULT"
|
||||||
|
@ -8,14 +8,6 @@ snippet problem "template for problem notes" bi
|
|||||||
|
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet algs "template for compsci notes" bi
|
|
||||||
#import "../templates/algs.typ": template, source_code
|
|
||||||
#show: template.with(
|
|
||||||
title: "$1",
|
|
||||||
)
|
|
||||||
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
snippet math_prob "template for math problems" bi
|
snippet math_prob "template for math problems" bi
|
||||||
#import "../../../templates/math_prob.typ": template
|
#import "../../../templates/math_prob.typ": template
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
@ -31,10 +23,6 @@ snippet im "inline math" w
|
|||||||
\$${1:${VISUAL}}\$
|
\$${1:${VISUAL}}\$
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet link "link" w
|
|
||||||
#link("${1}")[${2}]
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
snippet fig "create new figure" bi
|
snippet fig "create new figure" bi
|
||||||
#figure(
|
#figure(
|
||||||
image("fig/`!v expand("%:r")`/$1.svg"),
|
image("fig/`!v expand("%:r")`/$1.svg"),
|
||||||
|
@ -102,7 +102,3 @@ c.hints.selectors["code"] = [
|
|||||||
"pre"
|
"pre"
|
||||||
]
|
]
|
||||||
config.bind("cc", "hint code userscript code_select.py")
|
config.bind("cc", "hint code userscript code_select.py")
|
||||||
|
|
||||||
# use libre redirects
|
|
||||||
config.bind(",fl", "hint links userscript fixlink.sh")
|
|
||||||
config.bind(",fL", "hint links userscript fixlink.sh -t")
|
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# libredirect but scuffed and a qutebrowser userscript
|
|
||||||
#
|
|
||||||
# bind something like this in config.py
|
|
||||||
#
|
|
||||||
# config.bind(",fl", "hint links userscript fixlink.sh")
|
|
||||||
# config.bind(",fL", "hint links userscript fixlink.sh -t")
|
|
||||||
#
|
|
||||||
|
|
||||||
REDDIT="lr.mint.lgbt"
|
|
||||||
TWITTER="nitter.net"
|
|
||||||
# genius lyrics
|
|
||||||
GENIUS="sing.whatever.social"
|
|
||||||
YOUTUBE="yewtu.be"
|
|
||||||
|
|
||||||
LINK="$(printf "%s" "$QUTE_URL" | sed \
|
|
||||||
-e "s/www.reddit.com/$REDDIT/g" \
|
|
||||||
-e "s/twitter.com/$TWITTER/g" \
|
|
||||||
-e "s/genius.com/$GENIUS/g" \
|
|
||||||
-e "s/youtube.com/$YOUTUBE/g")"
|
|
||||||
|
|
||||||
echo "open $1 $LINK" >> "$QUTE_FIFO"
|
|
@ -65,7 +65,7 @@ fi
|
|||||||
|
|
||||||
# Profile to enable/disable features on certain devices
|
# Profile to enable/disable features on certain devices
|
||||||
if [ ! -f "$XDG_CONFIG_HOME"/dot_profile ]; then
|
if [ ! -f "$XDG_CONFIG_HOME"/dot_profile ]; then
|
||||||
export SYSTEM_PROFILE="SLIM"
|
export SYSTEM_PROFILE="DEFAULT"
|
||||||
else
|
else
|
||||||
. "$XDG_CONFIG_HOME"/dot_profile
|
. "$XDG_CONFIG_HOME"/dot_profile
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user