Rename doc command to help (#2125)

* Rename `doc` command to `help`

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-28 14:47:36 +10:00
1 parent ad5af1b2c7
commit f26b30be18
8 files changed
+26 -26

No files matched your search

+3 -3
View File
@@ -160,9 +160,9 @@ func setDefaults() {
gOpts.nkeys["w"] = &execExpr{"$", "%SHELL%"}
gOpts.vkeys["w"] = &execExpr{"$", "%SHELL%"}
gOpts.cmds["doc"] = &execExpr{"!", "%lf% -doc | %PAGER%"}
gOpts.nkeys["<f-1>"] = &callExpr{"doc", nil, 1}
gOpts.vkeys["<f-1>"] = &callExpr{"doc", nil, 1}
gOpts.cmds["help"] = &execExpr{"!", "%lf% -doc | %PAGER%"}
gOpts.nkeys["<f-1>"] = &callExpr{"help", nil, 1}
gOpts.vkeys["<f-1>"] = &callExpr{"help", nil, 1}
gOpts.cmds["maps"] = &execExpr{"!", `%lf% -remote "query %id% maps" | %PAGER%`}
gOpts.cmds["nmaps"] = &execExpr{"!", `%lf% -remote "query %id% nmaps" | %PAGER%`}