update doc
This commit is contained in:
parent
d2414f7580
commit
2b445aa205
12
doc.go
12
doc.go
@ -63,8 +63,7 @@ The following commands are provided by lf without default keybindings:
|
||||
echoerr same as echomsg but red color
|
||||
cd change working directory to the argument
|
||||
select change current file selection to the argument
|
||||
toggle toggle the selection of the current file or,
|
||||
when passed arguments, of its arguments
|
||||
toggle toggle the selection of the current file or its arguments
|
||||
glob-select select files that match the given glob
|
||||
glob-unselect unselect files that match the given glob
|
||||
source read the configuration file in the argument
|
||||
@ -538,11 +537,10 @@ in GNU cp is added to the new files or directories. Only file modes are
|
||||
preserved and all other attributes are ignored including ownership, timestamps,
|
||||
context, links, and xattr. Special files such as character and block devices,
|
||||
named pipes, and sockets are skipped and links are followed. Moving is
|
||||
performed using the rename operation of the underlying OS. This can fail to
|
||||
move files between different partitions when it needs to copy files. For these
|
||||
cases, users are expected to explicitly copy files and then delete the old ones
|
||||
manually. Operation errors are shown in the message line as well as the log
|
||||
file and they do not preemptively finish the corresponding file operation.
|
||||
performed using the rename operation of the underlying OS. For cross-device
|
||||
moving, lf falls back to copying and then deletes the original files if there
|
||||
are no errors. Operation errors are shown in the message line as well as the
|
||||
log file and they do not preemptively finish the corresponding file operation.
|
||||
|
||||
File operations can be performed on the current selected file or alternatively
|
||||
on multiple files by selecting them first. When you 'copy' a file, lf doesn't
|
||||
|
10
docstring.go
10
docstring.go
@ -66,8 +66,7 @@ The following commands are provided by lf without default keybindings:
|
||||
echoerr same as echomsg but red color
|
||||
cd change working directory to the argument
|
||||
select change current file selection to the argument
|
||||
toggle toggle the selection of the current file or,
|
||||
when passed arguments, of its arguments
|
||||
toggle toggle the selection of the current file or its arguments
|
||||
glob-select select files that match the given glob
|
||||
glob-unselect unselect files that match the given glob
|
||||
source read the configuration file in the argument
|
||||
@ -561,10 +560,9 @@ option in GNU cp is added to the new files or directories. Only file modes
|
||||
are preserved and all other attributes are ignored including ownership,
|
||||
timestamps, context, links, and xattr. Special files such as character and
|
||||
block devices, named pipes, and sockets are skipped and links are followed.
|
||||
Moving is performed using the rename operation of the underlying OS. This
|
||||
can fail to move files between different partitions when it needs to copy
|
||||
files. For these cases, users are expected to explicitly copy files and then
|
||||
delete the old ones manually. Operation errors are shown in the message line
|
||||
Moving is performed using the rename operation of the underlying OS. For
|
||||
cross-device moving, lf falls back to copying and then deletes the original
|
||||
files if there are no errors. Operation errors are shown in the message line
|
||||
as well as the log file and they do not preemptively finish the
|
||||
corresponding file operation.
|
||||
|
||||
|
5
lf.1
5
lf.1
@ -75,8 +75,7 @@ The following commands are provided by lf without default keybindings:
|
||||
echoerr same as echomsg but red color
|
||||
cd change working directory to the argument
|
||||
select change current file selection to the argument
|
||||
toggle toggle the selection of the current file or,
|
||||
when passed arguments, of its arguments
|
||||
toggle toggle the selection of the current file or its arguments
|
||||
glob-select select files that match the given glob
|
||||
glob-unselect unselect files that match the given glob
|
||||
source read the configuration file in the argument
|
||||
@ -542,7 +541,7 @@ There is a 'quit' command to close client connections and quit the server:
|
||||
.PP
|
||||
Lastly, there is a 'conn' command to connect the server as a client. This should not be needed for users.
|
||||
.SH FILE OPERATIONS
|
||||
lf uses its own builtin copy and move operations by default. These are implemented as asynchronous operations and progress is shown in the bottom ruler. These commands do not overwrite existing files or directories with the same name. Instead, a suffix that is compatible with '--backup=numbered' option in GNU cp is added to the new files or directories. Only file modes are preserved and all other attributes are ignored including ownership, timestamps, context, links, and xattr. Special files such as character and block devices, named pipes, and sockets are skipped and links are followed. Moving is performed using the rename operation of the underlying OS. This can fail to move files between different partitions when it needs to copy files. For these cases, users are expected to explicitly copy files and then delete the old ones manually. Operation errors are shown in the message line as well as the log file and they do not preemptively finish the corresponding file operation.
|
||||
lf uses its own builtin copy and move operations by default. These are implemented as asynchronous operations and progress is shown in the bottom ruler. These commands do not overwrite existing files or directories with the same name. Instead, a suffix that is compatible with '--backup=numbered' option in GNU cp is added to the new files or directories. Only file modes are preserved and all other attributes are ignored including ownership, timestamps, context, links, and xattr. Special files such as character and block devices, named pipes, and sockets are skipped and links are followed. Moving is performed using the rename operation of the underlying OS. For cross-device moving, lf falls back to copying and then deletes the original files if there are no errors. Operation errors are shown in the message line as well as the log file and they do not preemptively finish the corresponding file operation.
|
||||
.PP
|
||||
File operations can be performed on the current selected file or alternatively on multiple files by selecting them first. When you 'copy' a file, lf doesn't actually copy the file on the disk, but only records its name to memory. The actual file copying takes place when you 'paste'. Similarly 'paste' after a 'cut' operation moves the file.
|
||||
.PP
|
||||
|
Loading…
Reference in New Issue
Block a user