typos
This commit is contained in:
parent
63e32e1685
commit
ee18c34fd2
@ -58,9 +58,9 @@ See [etc](etc) directory to integrate `lf` to your shell or editor.
|
||||
|
||||
## File Opener
|
||||
|
||||
lf does not come bundled with a file opener.
|
||||
`lf` does not come bundled with a file opener.
|
||||
By default it tries to call `xdg-open` from `xdg-utils` package.
|
||||
You can change the file opener using the opener option (e.g. `:set opener mimeopen`).
|
||||
You can change the file opener using the opener option (e.g. `set opener mimeopen`).
|
||||
Below are a few alternatives you can use:
|
||||
|
||||
- [libfile-mimeinfo-perl](https://metacpan.org/release/File-MimeInfo) (executable name is `mimeopen`)
|
||||
|
@ -78,7 +78,7 @@ We can move it outside of the command so it would only run once at startup.
|
||||
|
||||
cmd trash ${{ IFS=':'; mv --backup=numbered $fx $HOME/.trash }}
|
||||
|
||||
Since these are one liners, we can drop `{{` and `}}.
|
||||
Since these are one liners, we can drop `{{` and `}}`.
|
||||
|
||||
$mkdir -p ~/.trash
|
||||
|
||||
|
@ -59,7 +59,7 @@ map sn :set sortby name; set showinfo none;
|
||||
map ss :set sortby size; set showinfo size;
|
||||
map st :set sortby time; set showinfo time;
|
||||
|
||||
# sets internal field seperator (IFS) to ":"
|
||||
# sets internal field seperator (IFS) to ':'
|
||||
# useful for interactive use to automatically split file names in $fs and $fx
|
||||
# things may behave unexpectedly so use with caution
|
||||
#set ifs :
|
||||
@ -79,7 +79,7 @@ cmd extract ${{
|
||||
|
||||
# compress selected files with tar and gunzip
|
||||
# takes the name without '.tar.gz' suffix as an argument
|
||||
# (e.g. ":compress foo" creates "foo.tar.gz")
|
||||
# (e.g. "compress foo" creates "foo.tar.gz")
|
||||
cmd compress ${{
|
||||
mkdir "$1"
|
||||
IFS=':'; cp $fs "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user