lf is the file manager used in MARBS. lf is awesome and makes you look cool even in front of the people who know their shit.
Running
Run lf by pressing MOD(alt) + o, or type press ctrl+o inside the terminal (or just simply type lf there).
Bindings
🗎 PDF cheat sheet
- h, j, k l (vim keys) to move around and enter directories and open files.
- gg, G, ctrl-d, ctrl-u – movement like in vim.
- q – exit lf and get back to the shell if you had one open.
- space – select files:
- d – cut files to lf’s clipboard.
- y – yank files to lf’s clipboard.
- p – paste/move copied/cut files.
- Yf – copy currently focused file to system clipboard.
- Yd – copy current working directory to system clipboard.
- r – rename currently focused file.
- B – bulk rename: use vidir to mass edit all files in the directory.
- s – sort files by a different metric.
- z – show extra data.
- . – show hidden files.
This list is not exhaustive. See man lf
and the lf configuration files for more.
lf’s configuration files
~/.confif/lf/lfrc
– The main lf configuration.~/.config/lf/scope
– The file that determines which commands generates previews for files.
The other files in the ~/.config/lf/
directory are run automatically when needed.
Notes
Notice that alias lf
will tell you that technically you are running the
wrapper script lfrun
when you run lf
. This has to do with sixel previews
.