Compare commits
No commits in common. "ae32f8199e60ffe308f7fccf6264bf0a991d621c" and "7d1330b0209c33d0449385bef237ccaf022d996b" have entirely different histories.
ae32f8199e
...
7d1330b020
1
programs
1
programs
@ -43,7 +43,6 @@ pipewire-pulse
|
|||||||
#
|
#
|
||||||
# utility
|
# utility
|
||||||
#
|
#
|
||||||
progress
|
|
||||||
speedtest-cli
|
speedtest-cli
|
||||||
obs-studio
|
obs-studio
|
||||||
dosfstools
|
dosfstools
|
||||||
|
@ -85,6 +85,5 @@ function prob_cpp; echo $EDITOR src/(basename (xsel -b)).cpp; end
|
|||||||
abbr -a cpp --function prob_cpp
|
abbr -a cpp --function prob_cpp
|
||||||
function prob_py; echo $EDITOR src/(basename (xsel -b)).py; end
|
function prob_py; echo $EDITOR src/(basename (xsel -b)).py; end
|
||||||
abbr -a py --function prob_py
|
abbr -a py --function prob_py
|
||||||
# in .config/nvim/typst.vim there is a bind that copies the path
|
function prob_pdf; echo zathura (basename (xsel -b)).pdf; end
|
||||||
function prob_pdf; echo zathura (xsel -b); end
|
|
||||||
abbr -a pdf --function prob_pdf
|
abbr -a pdf --function prob_pdf
|
||||||
|
@ -23,12 +23,10 @@ nnoremap <silent><leader>fs :call ScreenshotFig()<cr>
|
|||||||
" compile typst doc on write
|
" compile typst doc on write
|
||||||
function TypstWatch()
|
function TypstWatch()
|
||||||
vsp
|
vsp
|
||||||
vertical resize 20
|
vertical resize 50
|
||||||
exec 'terminal ' .. 'typst watch ' .. expand("%:")
|
exec 'terminal ' .. 'typst watch ' .. expand("%:t")
|
||||||
exec "norm \<c-w>h"
|
exec "norm \<c-w>h"
|
||||||
endfunc
|
endfunc
|
||||||
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||||
|
|
||||||
nnoremap <silent><leader>fr :call setreg("+", expand("%:p:r") . ".pdf")<cr>:echo "Copied path."<cr>
|
|
||||||
|
|
||||||
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user