use pager variable for doc on windows

This commit is contained in:
Gokcehan 2018-07-08 14:27:35 +03:00
parent d86e9c991c
commit 552182958a

View File

@ -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["<f-1>"] = &callExpr{"doc", nil, 1}
}