Rename doc command to help (#2125)
* Rename `doc` command to `help` * Update `CHANGELOG.md`
This commit is contained in:
1 parent
ad5af1b2c7
commit
f26b30be18
8 files changed
+26
-26
No files matched your search
@@ -164,9 +164,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`}
|
||||
|
||||
Reference in new issue
Block a user