Compare commits

..

5 Commits

Author SHA1 Message Date
40cc60abd8
qutebrowser: replace deprecated command 2023-08-27 11:00:17 -04:00
fc2f333223
nvim: typst auto root finding 2023-08-27 10:59:48 -04:00
692bbb8e56
nvim: remove autopairs toggle/untoggle bind
@@ tramples over the "repeat macro" bind
2023-08-27 10:57:22 -04:00
05f3f289c6
mpv: remove vflip bind 2023-08-27 10:56:46 -04:00
b4f7722108
fish: add more aliases 2023-08-27 10:56:10 -04:00
6 changed files with 31 additions and 5 deletions

View File

@ -3,6 +3,8 @@ function thur; zathura $argv; end
# stricter sandbox zathura # stricter sandbox zathura
function zathsec; /usr/bin/zathura -c ~/.config/zathura-sec $argv; end function zathsec; /usr/bin/zathura -c ~/.config/zathura-sec $argv; end
function calc; calcpy $argv; end
# tmux with 256-color # tmux with 256-color
function tmx; tmux -2 $argv; end function tmx; tmux -2 $argv; end
@ -64,6 +66,7 @@ end
function lstb; qbprof lstb; end function lstb; qbprof lstb; end
function work; qbprof work; end function work; qbprof work; end
function chat; qbprof chat; end function chat; qbprof chat; end
function zoom; qbprof zoom; end
# git stuff # git stuff
abbr -a -- gs git status abbr -a -- gs git status

View File

@ -5,8 +5,8 @@ CTRL+k seek -2
# filters # filters
F1 vf toggle random F1 vf toggle random
F2 vf toggle photosensitivity F2 vf toggle photosensitivity
F3 vf toggle lagfun:decay=0.995 F3 vf toggle lagfun
F4 vf toggle vflip F4 vf toggle lagfun:decay=0.995
F5 af toggle vibrato:f=2:d=1 F5 af toggle vibrato:f=2:d=1
F6 af toggle vibrato:f=15:d=.5 F6 af toggle vibrato:f=15:d=.5

View File

@ -22,7 +22,6 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
" bracket closing " bracket closing
Plug 'jiangmiao/auto-pairs' Plug 'jiangmiao/auto-pairs'
let g:AutoPairsShortcutToggle = "@@"
let g:AutoPairsFlyMode = 0 let g:AutoPairsFlyMode = 0
" improved error list " improved error list

View File

@ -17,13 +17,18 @@ function ScreenshotFig()
endf endf
nnoremap <silent><leader>fs :call ScreenshotFig()<cr> nnoremap <silent><leader>fs :call ScreenshotFig()<cr>
function GitRoot()
return fnamemodify(finddir('.git', ";"), ":h")
endfunc
" compile typst doc on write " compile typst doc on write
function TypstWatch() function TypstWatch()
vsp vsp
vertical resize 20 vertical resize 20
exec 'terminal ' .. 'typst watch ' .. expand("%:") exec 'terminal ' .. 'typst watch --root ' .. GitRoot() .. " " .. expand("%:")
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 :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr> nnoremap <silent><leader>fr :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr>

View 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"]

View File

@ -107,7 +107,7 @@ c.content.canvas_reading = False
c.content.webgl = False c.content.webgl = False
# Bind '#' key to scroll to anchor (sections in wiki pages, for example) # 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 # Get image URL quickly
config.bind(";I", "hint images yank") config.bind(";I", "hint images yank")
# This overrides pP because I don't use primary clip # This overrides pP because I don't use primary clip