Compare commits

...

5 Commits

6 changed files with 14 additions and 9 deletions

View File

@ -1,2 +1,3 @@
animdl
td-watson
cppman

View File

@ -1,7 +1,7 @@
# zathura
function thur; zathura $argv; end
# stricter sandbox zathura
function zathsec; zathura -c ~/.config/zathura-sec $argv; end
function zathsec; /usr/bin/zathura -c ~/.config/zathura-sec $argv; end
# tmux with 256-color
function tmx; tmux -2 $argv; end

View File

@ -1,6 +1,3 @@
" typst filetype support
Plug 'kaarmu/typst.vim'
" edit figure in Inkscape
function EditFig()
" expands filename under cursor
@ -31,4 +28,4 @@ nnoremap <silent><leader>fc :call TypstWatch()<cr>
nnoremap <silent><leader>fr :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr>
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}

View File

@ -98,7 +98,8 @@ if $SYSTEM_PROFILE == "DEFAULT"
source $XDG_CONFIG_HOME/nvim/coding.vim
" notes and documents stuff
source $XDG_CONFIG_HOME/nvim/typst.vim
" see ftplugin/typst.vim for binds and stuff
Plug 'kaarmu/typst.vim'
endif
" color theme

View File

@ -2,8 +2,8 @@
if has('python3') && ($SYSTEM_PROFILE == "DEFAULT" || $SYSTEM_PROFILE == "SLIM")
Plug 'SirVer/ultisnips'
let g:UltiSnipsExpandTrigger="<c-m>"
let g:UltiSnipsJumpForwardTrigger="<c-l>"
let g:UltiSnipsJumpBackwardTrigger="<c-b>"
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
let g:UltiSnipsSnippetDirectories=[$HOME.'/.config/nvim/ultisnips/']
endif

6
src/.local/bin/dic.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# local text dictionary
# download dictionary here:
# https://github.com/sujithps/Dictionary/raw/master/Oxford%20English%20Dictionary.txt
cat dox/dic | sed '/^$/d' | fzf -q "^"