config: little function fixes

This commit is contained in:
xeruf 2023-01-20 08:41:07 +01:00
parent b3af695101
commit 8fde6f9de6
3 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,7 @@ Version 2019-11-04 2021-02-16"
:map ctl-x-map
"8 SPC" (lambda () (insert-char "200B"))
:map text-mode-map
:desc "Markdown to Zulip" "mam" "4dip
:desc "Markdown to Zulip" "mam" "gg4dip
:%s/<\\/?span ?[^ >]*>//g
:%s/\\n\\n<a id=.*<\\/a>\\n\\n//g
:%s/<\\(http[^ \\n]+\\)>/\\1/g

View File

@ -49,6 +49,7 @@ unalias rd 2>/dev/null
# System help {{{1
compdef tldr=man
compdef help=man
compdef h=help
alias info='info --vi-keys'

View File

@ -14,4 +14,4 @@ case "$1" in
(*) sudo -E sysyadm "$@";;
esac
sudo chown -R $USER /etc/yadm
sudo chmod ugo+rw /tmp/git -R
sudo chmod ugo+rw /tmp/git -R 2>/dev/null