From 552182958af31024e43617a0aacfb4ae5bbc2f16 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sun, 8 Jul 2018 14:27:35 +0300 Subject: [PATCH] use pager variable for doc on windows --- os_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_windows.go b/os_windows.go index 420b82e..1d0a16f 100644 --- a/os_windows.go +++ b/os_windows.go @@ -108,7 +108,7 @@ func setDefaults() { gOpts.keys["i"] = &execExpr{"!", "%PAGER% %f%"} gOpts.keys["w"] = &execExpr{"$", "%SHELL%"} - gOpts.cmds["doc"] = &execExpr{"!", "lf -doc | $PAGER"} + gOpts.cmds["doc"] = &execExpr{"!", "lf -doc | %PAGER%"} gOpts.keys[""] = &callExpr{"doc", nil, 1} }