From 7f7b6ee45c328bfe0b901d5751502fa9ef14424b Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Wed, 11 May 2022 00:56:39 +0200 Subject: [PATCH] Add 'Man' command --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index b317b80..43669cf 100644 --- a/.vimrc +++ b/.vimrc @@ -49,6 +49,11 @@ com! -nargs=0 Today :call Today() com! -nargs=0 ToggleLineNumbers :call ToggleLineNumbers() com! -nargs=0 ToggleConceal :call ToggleConceal() +" Setup Man command for reading man pages +if exists(":Man") != 2 + source $VIMRUNTIME/ftplugin/man.vim +endif + " Keybindings """""""""""""