rename mark to selection

This commit is contained in:
Gokcehan committed 2018-07-09 21:22:10 +03:00
1 parent 552182958a
commit a80900f41e
9 files changed
+75 -75

No files matched your search

+4 -4
View File
@@ -39,7 +39,7 @@ The following commands are provided by lf with default keybindings:
bottom (default 'G' and '<end>')
toggle (default '<space>')
invert (default 'v')
unmark (default 'u')
unselect (default 'u')
copy (default 'y')
cut (default 'd')
paste (default 'p')
@@ -131,8 +131,8 @@ The following variables are exported for shell commands:
.PP
.EX
$f current file
$fs marked file(s) separated with 'filesep'
$fx current file or marked file(s) if any
$fs selected file(s) separated with 'filesep'
$fx current file or selected file(s) if any
$id id number of the client
.EE
.PP
@@ -371,7 +371,7 @@ Regular shell commands are the most basic command type that is useful for many p
}}
.EE
.PP
We check '$fs' to see if there are any marked files. Otherwise we just delete the current file. Since this is such a common pattern, a separate '$fx' variable is provided. We can use this variable to get rid of the conditional:
We check '$fs' to see if there are any selected files. Otherwise we just delete the current file. Since this is such a common pattern, a separate '$fx' variable is provided. We can use this variable to get rid of the conditional:
.PP
.EX
cmd trash ${{