Compare commits
5 Commits
ef95eb38db
...
40cc60abd8
Author | SHA1 | Date | |
---|---|---|---|
40cc60abd8 | |||
fc2f333223 | |||
692bbb8e56 | |||
05f3f289c6 | |||
b4f7722108 |
@ -3,6 +3,8 @@ function thur; zathura $argv; end
|
||||
# stricter sandbox zathura
|
||||
function zathsec; /usr/bin/zathura -c ~/.config/zathura-sec $argv; end
|
||||
|
||||
function calc; calcpy $argv; end
|
||||
|
||||
# tmux with 256-color
|
||||
function tmx; tmux -2 $argv; end
|
||||
|
||||
@ -64,6 +66,7 @@ end
|
||||
function lstb; qbprof lstb; end
|
||||
function work; qbprof work; end
|
||||
function chat; qbprof chat; end
|
||||
function zoom; qbprof zoom; end
|
||||
|
||||
# git stuff
|
||||
abbr -a -- gs git status
|
||||
|
@ -5,8 +5,8 @@ CTRL+k seek -2
|
||||
# filters
|
||||
F1 vf toggle random
|
||||
F2 vf toggle photosensitivity
|
||||
F3 vf toggle lagfun:decay=0.995
|
||||
F4 vf toggle vflip
|
||||
F3 vf toggle lagfun
|
||||
F4 vf toggle lagfun:decay=0.995
|
||||
|
||||
F5 af toggle vibrato:f=2:d=1
|
||||
F6 af toggle vibrato:f=15:d=.5
|
||||
|
@ -22,7 +22,6 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
|
||||
|
||||
" bracket closing
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
let g:AutoPairsShortcutToggle = "@@"
|
||||
let g:AutoPairsFlyMode = 0
|
||||
|
||||
" improved error list
|
||||
|
@ -17,13 +17,18 @@ function ScreenshotFig()
|
||||
endf
|
||||
nnoremap <silent><leader>fs :call ScreenshotFig()<cr>
|
||||
|
||||
function GitRoot()
|
||||
return fnamemodify(finddir('.git', ";"), ":h")
|
||||
endfunc
|
||||
|
||||
" compile typst doc on write
|
||||
function TypstWatch()
|
||||
vsp
|
||||
vertical resize 20
|
||||
exec 'terminal ' .. 'typst watch ' .. expand("%:")
|
||||
exec 'terminal ' .. 'typst watch --root ' .. GitRoot() .. " " .. expand("%:")
|
||||
exec "norm \<c-w>h"
|
||||
endfunc
|
||||
|
||||
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||
|
||||
nnoremap <silent><leader>fr :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr>
|
||||
|
19
src/.config/qbprof/zoom/config/config.py
Normal file
19
src/.config/qbprof/zoom/config/config.py
Normal file
@ -0,0 +1,19 @@
|
||||
config.load_autoconfig(False)
|
||||
|
||||
c.input.mode_override = "passthrough"
|
||||
c.statusbar.show = "never"
|
||||
c.tabs.show = "multiple"
|
||||
c.bindings.default["passthrough"] = {}
|
||||
c.bindings.commands["passthrough"] = {
|
||||
"<ctrl-escape>": "mode-leave"
|
||||
}
|
||||
|
||||
c.fonts.default_family = "JetBrains Mono"
|
||||
c.downloads.location.directory = "~/quar/"
|
||||
c.scrolling.smooth = True
|
||||
c.downloads.remove_finished = 1000
|
||||
|
||||
# homegrown file selector
|
||||
c.fileselect.handler = "external"
|
||||
c.fileselect.multiple_files.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]
|
||||
c.fileselect.single_file.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {}; source ~/.local/bin/fish-fm"]
|
@ -107,7 +107,7 @@ c.content.canvas_reading = False
|
||||
c.content.webgl = False
|
||||
|
||||
# Bind '#' key to scroll to anchor (sections in wiki pages, for example)
|
||||
config.bind("#", "set-cmd-text -s :scroll-to-anchor ")
|
||||
config.bind("#", "cmd-set-text -s :scroll-to-anchor ")
|
||||
# Get image URL quickly
|
||||
config.bind(";I", "hint images yank")
|
||||
# This overrides pP because I don't use primary clip
|
||||
|
Loading…
x
Reference in New Issue
Block a user