LF is a CLI file manager easy to use




1.1 Install LF on Mac OSX with brew

brew install lf

1.2 Start lf from term


1.3 Shortcut keys

q                       For quit

left/right arrow key    Exit/Enter folder, or open file
up/down arrow key       Change selected file or folder
gg                      goto first file
G                       goto last file
H                       goto highest line of screen 
M                       goto middle of screen
L                       goto lowest line of screen

v                       Select/Unselect all
u                       Unselect all
c                       Clear select and copy etc
space key               Select/Unselect current file

y                       Copy the selected files
d                       Cut the selected files
p                       Paste the copied files

/                       Find by name
s                       Active sort commands
st          {{sort by time}}
ss          {{sort by size}}
sn          {{sort by nature}}

w                       Enter bash shell
e                       Edit current file with vim
r                       Rename current file
:                       Run command
:filter  df             Only show files containing "df" inside file name
:global-select hand*    Select all files match pattern "hand*"
m => :mark-save         Save a mark to current folder for fast goto this folder

:cmaps                  Show shortcut key maps
:doc                    Show document for LF

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Flow Chart Online tool


オンラインFlowチャートを作成用ツールが進化している、 お勧めのOnline Free Flow Chartツールは: excalidraw Github上51.7K starに評価されました。 https://excalidraw.com/ 手書くの感じが大好きです。