Add clearmaps command (#1286)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-06-04 18:56:39 +03:00
1 parent c874a2c56f
commit 2c13e0d7d6
5 files changed
+27

No files matched your search

+8
View File
@@ -44,6 +44,7 @@ The following commands are provided by lf:
glob-select
glob-unselect
calcdirsize
clearmaps
copy (default 'y')
cut (default 'd')
paste (default 'p')
@@ -398,6 +399,13 @@ should include 'size' and option 'dircounts' should be disabled to show this
size. If the total size of a directory is not calculated, it will be shown as
'-'.
clearmaps
Remove all keybindings associated with the 'map' command. This command can be
used in the config file to remove the default keybindings. For safety purposes,
':' is left mapped to the 'read' command, and 'cmap' keybindings are retained so
that it is still possible to exit 'lf' using ':quit'.
copy (default 'y')
If there are no selections, save the path of the current file to the copy