update doc

This commit is contained in:
Gokcehan 2019-01-31 22:15:31 +03:00
parent c7fe60c541
commit 79b05dc365
3 changed files with 11 additions and 9 deletions

9
doc.go
View File

@ -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 to asynchronous, or use 'rsync' command with progress bar option for copying
and feed the progress to the client periodically with remote 'echo' calls. 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 By default, lf does not assign 'delete' command to a key to protect new users.
users. You can define such a command and optionally assign a key if you like. You can customize file deletion by defining a 'delete' command. You can also
An example command to move selected files to a trash folder and remove files assign a key to this command if you like. An example command to move selected
completely are provided in the example configuration file. files to a trash folder and remove files completely after a prompt are provided
in the example configuration file.
Searching Files Searching Files

View File

@ -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 option for copying and feed the progress to the client periodically with
remote 'echo' calls. remote 'echo' calls.
By default, lf does not provide an actual file deletion command to protect By default, lf does not assign 'delete' command to a key to protect new
new users. You can define such a command and optionally assign a key if you users. You can customize file deletion by defining a 'delete' command. You
like. An example command to move selected files to a trash folder and remove can also assign a key to this command if you like. An example command to
files completely are provided in the example configuration file. move selected files to a trash folder and remove files completely after a
prompt are provided in the example configuration file.
Searching Files Searching Files

2
lf.1
View File

@ -549,7 +549,7 @@ You can customize these operations by defining a 'paste' command. This is a spec
.PP .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. 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 .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 .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. 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 .PP