-
Notifications
You must be signed in to change notification settings - Fork 331
Tutorial
Isaac Pei edited this page Feb 20, 2018
·
29 revisions
-
Download the binary at: https://github.com/gokcehan/lf/releases
For system with go installed:
go get -u github.com/gokcehan/lf
-
Download the example setting file with command such as:
wget https://raw.githubusercontent.com/gokcehan/lf/master/etc/lfrc.example
Alternatively, just download or clone the repository, and then copy the lfrc.example file:
git clone https://github.com/gokcehan/lf
`mkdir -p ~/.config/lf/ && cp lfrc.example ~/.config/lf/lfrc`
The example lfrc. example is already very nice, it would be nice to add some more commonly used mappings, so that it will be easier/as well as instrumental.
- move up/down in current folder:
j/k
- move to upper level/lower level of folder:
h/l
- Show/hide hidden files:
zh
- run shell command:
<enter>
- select files/toggle:
<space>
- remove command:
:remove
- Remove the selected files with confirmation prompt. - If using the default/example lfrc file: you can add the line in lfrc file, as
map D trash
, then,D
key will trash the selected files.