From 7f4c446b8af131694ed557eacd0ff3d38c3c2eb1 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 7 Oct 2021 14:57:24 +0200 Subject: [PATCH] Easier way for man in neovim. --- _scripts/viman | 2 -- zsh/.zshrc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100755 _scripts/viman diff --git a/_scripts/viman b/_scripts/viman deleted file mode 100755 index 7cecb6f..0000000 --- a/_scripts/viman +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -vim -R -c 'set ft=man nomod nonumber nomagic' "${*}" diff --git a/zsh/.zshrc b/zsh/.zshrc index eab650b..c295e02 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -8,7 +8,7 @@ setopt HIST_REDUCE_BLANKS setopt SHARE_HISTORY export PATH=~/.local/bin:$PATH -export MANPAGER="viman" +export MANPAGER='nvim +Man!' export LESSHISTFILE='/dev/null' [ ! -L ~/.cache ] && { rm -rf ~/.cache; ln -sf $XDG_CACHE_HOME ~/.cache ; }