Skip to content
Isaac Pei edited this page Feb 20, 2018 · 29 revisions

1. 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

2. 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.

3. 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.
  • 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.
Clone this wiki locally