{"id":196,"date":"2024-02-13T15:31:05","date_gmt":"2024-02-13T06:31:05","guid":{"rendered":"https:\/\/www.aisoit.com\/?p=196"},"modified":"2024-02-13T19:00:28","modified_gmt":"2024-02-13T10:00:28","slug":"lf-is-a-cli-file-manager-easy-to-use","status":"publish","type":"post","link":"https:\/\/www.aisoit.com\/?p=196","title":{"rendered":"LF is a CLI file manager easy to use"},"content":{"rendered":"\n<p><a href=\"https:\/\/github.com\/gokcehan\/lf.git\">https:\/\/github.com\/gokcehan\/lf.git<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/gokcehan\/lf\/wiki\/Tutorial\">https:\/\/github.com\/gokcehan\/lf\/wiki\/Tutorial<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.1 Install LF on Mac OSX with brew<\/h2>\n\n\n\n<p>brew install lf<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.2 Start lf from term<\/h2>\n\n\n\n<p>lf<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-1024x468.png\" alt=\"\" class=\"wp-image-197\" srcset=\"https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-1024x468.png 1024w, https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-300x137.png 300w, https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-768x351.png 768w, https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-1536x701.png 1536w, https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image-1530x699.png 1530w, https:\/\/www.aisoit.com\/wp-content\/uploads\/2024\/02\/image.png 1588w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">1.3 Shortcut keys<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>q                       For quit\n\nleft\/right arrow key    Exit\/Enter folder, or open file\nup\/down arrow key       Change selected file or folder\ngg                      goto first file\nG                       goto last file\nH                       goto highest line of screen \nM                       goto middle of screen\nL                       goto lowest line of screen\n\nv                       Select\/Unselect all\nu                       Unselect all\nc                       Clear select and copy etc\nspace key               Select\/Unselect current file\n\ny                       Copy the selected files\nd                       Cut the selected files\np                       Paste the copied files\n\n\/                       Find by name\n-----------------------------------------------------\ns                       Active sort commands\nst          {{sort by time}}\nss          {{sort by size}}\nsn          {{sort by nature}}\n\nw                       Enter bash shell\ne                       Edit current file with vim\nr                       Rename current file\n-----------------------------------------------------\n:                       Run command\n:filter  df             Only show files containing \"df\" inside file name\n:global-select hand*    Select all files match pattern \"hand*\"\nm =&gt; :mark-save         Save a mark to current folder for fast goto this folder\n\n:cmaps                  Show shortcut key maps\n:doc                    Show document for LF<\/code><\/pre>\n\n\n\n<p><\/p>\n<div class=\"likebtn_container\" style=\"\"><!-- LikeBtn.com BEGIN --><span class=\"likebtn-wrapper\"  data-identifier=\"post_196\"  data-site_id=\"65cb32bb943ec9f6275ac6aa\"  data-style=\"\"  data-unlike_allowed=\"\"  data-show_copyright=\"\"  data-item_url=\"https:\/\/www.aisoit.com\/?p=196\"  data-item_title=\"LF is a CLI file manager easy to use\"  data-item_date=\"2024-02-13T15:31:05+09:00\"  data-engine=\"WordPress\"  data-plugin_v=\"2.6.58\"  data-prx=\"https:\/\/www.aisoit.com\/wp-admin\/admin-ajax.php?action=likebtn_prx\"  data-event_handler=\"likebtn_eh\" ><\/span><!-- LikeBtn.com END --><\/div>","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/gokcehan\/lf.git https:\/\/github.com\/gokcehan\/lf\/wiki\/Tutorial 1.1 Install LF on Mac OSX with brew brew install lf 1.2 Start lf from term lf 1.3 Shortcut keys<\/p>\n<div class=\"likebtn_container\" style=\"\"><!-- LikeBtn.com BEGIN --><span class=\"likebtn-wrapper\"  data-identifier=\"post_196\"  data-site_id=\"65cb32bb943ec9f6275ac6aa\"  data-style=\"\"  data-unlike_allowed=\"\"  data-show_copyright=\"\"  data-item_url=\"https:\/\/www.aisoit.com\/?p=196\"  data-item_title=\"LF is a CLI file manager easy to use\"  data-item_date=\"2024-02-13T15:31:05+09:00\"  data-engine=\"WordPress\"  data-plugin_v=\"2.6.58\"  data-prx=\"https:\/\/www.aisoit.com\/wp-admin\/admin-ajax.php?action=likebtn_prx\"  data-event_handler=\"likebtn_eh\" ><\/span><!-- LikeBtn.com END --><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-tools"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":5,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":274,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/274"}],"wp:attachment":[{"href":"https:\/\/www.aisoit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aisoit.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}