-
Notifications
You must be signed in to change notification settings - Fork 331
Tutorial
Isaac Pei edited this page Jan 15, 2018
·
29 revisions
- Installation:
-
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
-
Config - copy example config to ~/.config/lf/lfrc:
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.
-
Some directly available functions with the sample lfrc:
- 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.