config: little function fixes
This commit is contained in:
parent
b3af695101
commit
8fde6f9de6
|
@ -120,7 +120,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
:map ctl-x-map
|
:map ctl-x-map
|
||||||
"8 SPC" (lambda () (insert-char "200B"))
|
"8 SPC" (lambda () (insert-char "200B"))
|
||||||
:map text-mode-map
|
:map text-mode-map
|
||||||
:desc "Markdown to Zulip" "mam" "4dip
|
:desc "Markdown to Zulip" "mam" "gg4dip
|
||||||
:%s/<\\/?span ?[^ >]*>//g
|
:%s/<\\/?span ?[^ >]*>//g
|
||||||
:%s/\\n\\n<a id=.*<\\/a>\\n\\n//g
|
:%s/\\n\\n<a id=.*<\\/a>\\n\\n//g
|
||||||
:%s/<\\(http[^ \\n]+\\)>/\\1/g
|
:%s/<\\(http[^ \\n]+\\)>/\\1/g
|
||||||
|
|
|
@ -49,6 +49,7 @@ unalias rd 2>/dev/null
|
||||||
|
|
||||||
# System help {{{1
|
# System help {{{1
|
||||||
|
|
||||||
|
compdef tldr=man
|
||||||
compdef help=man
|
compdef help=man
|
||||||
compdef h=help
|
compdef h=help
|
||||||
alias info='info --vi-keys'
|
alias info='info --vi-keys'
|
||||||
|
|
|
@ -14,4 +14,4 @@ case "$1" in
|
||||||
(*) sudo -E sysyadm "$@";;
|
(*) sudo -E sysyadm "$@";;
|
||||||
esac
|
esac
|
||||||
sudo chown -R $USER /etc/yadm
|
sudo chown -R $USER /etc/yadm
|
||||||
sudo chmod ugo+rw /tmp/git -R
|
sudo chmod ugo+rw /tmp/git -R 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue