1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-21 22:32:46 +00:00

nvim: alex c++17, zathura: center option: qute: lx

This commit is contained in:
Phantop 2023-02-26 23:48:17 -05:00
parent bedaa2601e
commit bf9fc0db90
5 changed files with 10 additions and 4 deletions

View file

@ -60,14 +60,14 @@ a v vi
a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r requirements.txt' a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r requirements.txt'
a vi nvim a vi nvim
a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:' a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:'
a wm 'startx (which $argv[1]) $argv[2..-1]' a wm 'startx (which $argv[1]) $argv[2..-1];:'
a ydl 'yt-dlp' a ydl 'yt-dlp'
a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z' a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z' a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs -f' a dwarf 'mkdwarfs -i . -o $PWD.dwarfs -f'
a dwarfmount 'dwarfs -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:' a dwarfmount 'dwarfs -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:'
a dwarfs 'dwarfs -o offset=auto -o tidy_strategy=swap' a dwarfs 'dwarfs -o offset=auto -o tidy_strategy=swap -o workers=(nproc)'
a dwarfs2null 'dwarfsextract -o /dev/null -f gnutar -i' a dwarfs2null 'dwarfsextract -o /dev/null -f gnutar -i'
a dwarfs2tar 'dwarfsextract -o dwarfs-root.tar -f gnutar -i' a dwarfs2tar 'dwarfsextract -o dwarfs-root.tar -f gnutar -i'
a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i' a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'

View file

@ -49,4 +49,10 @@ syntax enable
PaqSync PaqSync
autocmd BufReadPost,FileReadPost *.bz3 call gzip#read("bzip3 -d") autocmd BufReadPost,FileReadPost *.bz3 call gzip#read("bzip3 -d")
let g:ale_linters = {'cpp': ['cc', 'clang', 'cppcheck']}
let g:ale_fixers = {'cpp': ['clang-format']}
let g:ale_linters_ignore = {'cpp': ['clangcheck', 'clangtidy']}
let g:ale_cpp_cc_options = "-std=c++17 -Wall"
let g:ale_cpp_clangd_options = "-std=c++17 -Wall"
]] ]]

View file

@ -11,7 +11,7 @@ c.confirm_quit = ['downloads']
c.downloads.location.directory = '~/Downloads' c.downloads.location.directory = '~/Downloads'
c.qt.workarounds.remove_service_workers = True c.qt.workarounds.remove_service_workers = True
c.url.searchengines['l'] = 'farside.link/librex/search.php?q={}' c.url.searchengines['l'] = 'lx.vern.cc/search.php?q={}'
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}' c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}' c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}' c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'

View file

@ -16,6 +16,5 @@ for site in sites:
config.set('content.javascript.enabled', True, 'https://' + site) config.set('content.javascript.enabled', True, 'https://' + site)
config.set('content.cookies.accept', 'no-3rdparty', 'https://' + site) config.set('content.cookies.accept', 'no-3rdparty', 'https://' + site)
config.set('content.cookies.accept', 'all', 'https://lms.rpi.edu')
config.set('content.headers.user_agent', 'iPhone', 'docs.google.com') config.set('content.headers.user_agent', 'iPhone', 'docs.google.com')
config.set('content.headers.user_agent', 'iPhone', 'drive.google.com') config.set('content.headers.user_agent', 'iPhone', 'drive.google.com')

View file

@ -9,3 +9,4 @@ set recolor-reverse-video
set recolor-darkcolor '#FFFFFF' set recolor-darkcolor '#FFFFFF'
map <C-i> set recolor-reverse-video map <C-i> set recolor-reverse-video
map <A-e> set 'default-bg \#EEE' map <A-e> set 'default-bg \#EEE'
map <A-v> set vertical-center