summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokcehan <gokcehankara@gmail.com>2019-01-31 22:15:31 +0300
committerGokcehan <gokcehankara@gmail.com>2019-01-31 22:15:31 +0300
commit79b05dc3655cb9ffcf5fb48271dc2aeb00ead8aa (patch)
treeff82edc562fb73be842a9ec0181ba351ae223029
parentc7fe60c541680b9352136b7240a1667d71d5ca41 (diff)
update docr9
-rw-r--r--doc.go9
-rw-r--r--docstring.go9
-rw-r--r--lf.12
3 files changed, 11 insertions, 9 deletions
diff --git a/doc.go b/doc.go
index e6bcaac..da6b5e0 100644
--- a/doc.go
+++ b/doc.go
@@ -545,10 +545,11 @@ commands if they support it (i.e. GNU implementation), change the command type
to asynchronous, or use 'rsync' command with progress bar option for copying
and feed the progress to the client periodically with remote 'echo' calls.
-By default, lf does not provide an actual file deletion command to protect new
-users. You can define such a command and optionally assign a key if you like.
-An example command to move selected files to a trash folder and remove files
-completely are provided in the example configuration file.
+By default, lf does not assign 'delete' command to a key to protect new users.
+You can customize file deletion by defining a 'delete' command. You can also
+assign a key to this command if you like. An example command to move selected
+files to a trash folder and remove files completely after a prompt are provided
+in the example configuration file.
Searching Files
diff --git a/docstring.go b/docstring.go
index 18e500e..31c3ca8 100644
--- a/docstring.go
+++ b/docstring.go
@@ -568,10 +568,11 @@ command type to asynchronous, or use 'rsync' command with progress bar
option for copying and feed the progress to the client periodically with
remote 'echo' calls.
-By default, lf does not provide an actual file deletion command to protect
-new users. You can define such a command and optionally assign a key if you
-like. An example command to move selected files to a trash folder and remove
-files completely are provided in the example configuration file.
+By default, lf does not assign 'delete' command to a key to protect new
+users. You can customize file deletion by defining a 'delete' command. You
+can also assign a key to this command if you like. An example command to
+move selected files to a trash folder and remove files completely after a
+prompt are provided in the example configuration file.
Searching Files
diff --git a/lf.1 b/lf.1
index 53630b1..f24e093 100644
--- a/lf.1
+++ b/lf.1
@@ -549,7 +549,7 @@ You can customize these operations by defining a 'paste' command. This is a spec
.PP
Some useful things are to use the backup option ('--backup') with 'cp' and 'mv' commands if they support it (i.e. GNU implementation), change the command type to asynchronous, or use 'rsync' command with progress bar option for copying and feed the progress to the client periodically with remote 'echo' calls.
.PP
-By default, lf does not provide an actual file deletion command to protect new users. You can define such a command and optionally assign a key if you like. An example command to move selected files to a trash folder and remove files completely are provided in the example configuration file.
+By default, lf does not assign 'delete' command to a key to protect new users. You can customize file deletion by defining a 'delete' command. You can also assign a key to this command if you like. An example command to move selected files to a trash folder and remove files completely after a prompt are provided in the example configuration file.
.SH SEARCHING FILES
There are two mechanisms implemented in lf to search a file in the current directory. Searching is the traditional method to move the selection to a file matching a given pattern. Finding is an alternative way to search for a pattern possibly using fewer keystrokes.
.PP