lf#
Installation#
https://github.com/gokcehan/lf#installation
Vim-compatible Interface#
lf provides a Vim-like navigation experience by default:
- Navigation:
h,j,k,l - Scrolling:
gg,G - Search:
/,n,N - Selection:
v - Hidden Files:
zh(Toggle)
Shortcuts#
m: Set a mark (eg.mato mark a location as ‘a’).- Inspired by Vim marks.
': Move to a mark (eg.'ato jump to the location marked ‘a’).'': Jump to previous location (built-in feature, also inspired by vim marks). Equivalent tocd -.
": Remove (Delete) the selected file or directory.gh: Go home (cd~).
Shell Integration#
Change Directory on Exit (lfcd)#
To make lf change your shell’s current working directory to the last visited directory on exit, add the following to your ~/.bashrc: GitHub