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

+2 -2
View File
@@ -22,8 +22,8 @@ map i $less %f%
# change the shell used in default shell keybinding
map w $powershell
# change 'doc' command to use a different pager
cmd doc $lf -doc | less
# change 'help' command to use a different pager
cmd help $lf -doc | less
# leave some space at the top and the bottom of the screen
set scrolloff 10
+1 -2
View File
@@ -21,8 +21,7 @@ cmd open &&$Env:OPENER.Trim('"', ' ') "$Env:f"
map e $&$Env:EDITOR "$Env:f"
map i !&$Env:PAGER "$Env:f"
map w $&$Env:SHELL
cmd doc !&$Env:lf -doc | &$Env:PAGER
map <f-1> doc
cmd help !&$Env:lf -doc | &$Env:PAGER
cmd maps !&$Env:lf -remote "query $Env:id maps" | &$Env:PAGER
cmd nmaps !&$Env:lf -remote "query $Env:id nmaps" | &$Env:PAGER
cmd vmaps !&$Env:lf -remote "query $Env:id vmaps" | &$Env:PAGER