Compare commits
No commits in common. "3b9953f2dc4692c5d446325b070370b0a7cd61a7" and "58082795483603a148179e438d65c9ebbdaa5fa8" have entirely different histories.
3b9953f2dc
...
5808279548
@ -25,9 +25,3 @@ function pyenv; source ~/dox/proj/ref/venv/bin/activate.fish; end
|
|||||||
|
|
||||||
# bootleg meme feed
|
# bootleg meme feed
|
||||||
function arf; cd ~/med/memes/arf; mpv --no-resume-playback (ls | shuf); end
|
function arf; cd ~/med/memes/arf; mpv --no-resume-playback (ls | shuf); end
|
||||||
|
|
||||||
# aliases for logs and notes
|
|
||||||
function xx; $EDITOR ~/dox/not/xx.tsv; end
|
|
||||||
function dr; $EDITOR ~/dox/not/dr.txt; end
|
|
||||||
function bk; $EDITOR ~/dox/not/bk.txt; end
|
|
||||||
function rem; $EDITOR ~/dox/not/rem; end
|
|
||||||
|
@ -120,22 +120,9 @@ nnoremap <silent> ZF :qa<cr>
|
|||||||
function EditFig()
|
function EditFig()
|
||||||
let figure_fname = expand('<cfile>')
|
let figure_fname = expand('<cfile>')
|
||||||
exec "silent !typst-figure " .. figure_fname
|
exec "silent !typst-figure " .. figure_fname
|
||||||
vsp
|
|
||||||
exec "term inkscape-shortcut-manager"
|
|
||||||
quit
|
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
:nnoremap <silent><leader>ff :call EditFig()<cr>
|
:nnoremap <silent><leader>ff :call EditFig()<cr>
|
||||||
|
|
||||||
" compile typst doc on write
|
|
||||||
function TypstWatch()
|
|
||||||
vsp
|
|
||||||
vertical resize 50
|
|
||||||
exec 'terminal ' .. 'typst watch ' .. expand("%:t")
|
|
||||||
exec "norm \<c-w>h"
|
|
||||||
endfunc
|
|
||||||
:nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
|
||||||
|
|
||||||
" Plugins
|
" Plugins
|
||||||
|
|
||||||
" Run PlugInstall if there are missing plugins
|
" Run PlugInstall if there are missing plugins
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# wrapper to have a single instance of inkscape-shortcut-manager running
|
|
||||||
|
|
||||||
if ! pgrep -f inkscape-shortcut-manager/main.py; then
|
|
||||||
# really hacky hardcoding of path here
|
|
||||||
# https://github.com/dogeystamp/inkscape-shortcut-manager
|
|
||||||
# clone this and point to its main.py
|
|
||||||
python3 ~/dox/proj/inkscape-shortcut-manager/main.py
|
|
||||||
fi
|
|
Loading…
x
Reference in New Issue
Block a user