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

+5 -5
View File
@@ -18,7 +18,7 @@ https://github.com/gokcehan/lf
This documentation can either be read from the terminal using lf -doc or
online at https://github.com/gokcehan/lf/blob/master/doc.md You can also
use the doc command (default <f-1>) inside lf to view the documentation
use the help command (default <f-1>) inside lf to view the documentation
in a pager. A man page with the same content is also available in the
repository at https://github.com/gokcehan/lf/blob/master/lf.1
@@ -257,8 +257,8 @@ The following commands/keybindings are provided by default:
map e $$EDITOR "$f"
map i $$PAGER "$f"
map w $$SHELL
cmd doc $$lf -doc | $PAGER
map <f-1> doc
cmd help $$lf -doc | $PAGER
map <f-1> help
cmd maps $lf -remote "query $id maps" | $PAGER
cmd nmaps $lf -remote "query $id nmaps" | $PAGER
cmd vmaps $lf -remote "query $id vmaps" | $PAGER
@@ -270,8 +270,8 @@ The following commands/keybindings are provided by default:
map e $%EDITOR% %f%
map i !%PAGER% %f%
map w $%SHELL%
cmd doc !%lf% -doc | %PAGER%
map <f-1> doc
cmd help !%lf% -doc | %PAGER%
map <f-1> help
cmd maps !%lf% -remote "query %id% maps" | %PAGER%
cmd nmaps !%lf% -remote "query %id% nmaps" | %PAGER%
cmd vmaps !%lf% -remote "query %id% vmaps" | %PAGER%