config updates

This commit is contained in:
koehr 2021-07-03 19:56:28 +02:00
parent 4d0e9304c3
commit 82423164b2
2 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,6 @@ hook global WinSetOption filetype=rust %{
set buffer indentwidth 4
}
hook global WinSetOption filetype=json %{
set window formatcmd 'jq .'
set window formatcmd 'jq --indent 2 .'
hook window BufWritePre .* format
}

View file

@ -23,11 +23,13 @@ alias howto="howdoi -c"
alias icat="kitty +kitten icat"
alias wttr="curl wttr.in"
alias df="duf"
alias du="dust"
alias md="glow -p"
alias ls="lsd"
alias l="lsd -lha"
alias ll="lsd -lh"
alias lt="lsd --tree"
alias pp="bat"
# twtxt
alias ttt="txtnish tweet"