1
0
Fork 0

use nvim as man reader

This commit is contained in:
Vladimír Dudr 2022-12-20 09:54:10 +01:00
parent 884b244023
commit 0c6cb10c3d

View file

@ -25,3 +25,14 @@ pocompile() {
msgfmt -o "${app_po%po}mo" "$app_po" msgfmt -o "${app_po%po}mo" "$app_po"
} }
man() {
if [[ "$1" = -k ]]; then
command man "$@"
elif [[ -n "$1" ]]; then
vim man://$1
else
echo 'What manual page do you want?'
return 1
fi
}