From 01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:02:29 +0530 Subject: refactor: organized the modules into better categories Instead of lumping everything in modules/programs we are separating them into separate directories in modules/ --- modules/file-management/lf/lfrc | 168 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 modules/file-management/lf/lfrc (limited to 'modules/file-management/lf/lfrc') diff --git a/modules/file-management/lf/lfrc b/modules/file-management/lf/lfrc new file mode 100644 index 0000000..7ae847c --- /dev/null +++ b/modules/file-management/lf/lfrc @@ -0,0 +1,168 @@ +# ========================= +# BASIC MOVEMENT (nvim-like) +# ========================= + +map j down +map k up +map h updir +map l open + +map gg top +map G bottom + +map half-up +map half-down + +map page-up +map page-down + +# ========================= +# SELECTION +# ========================= + +map toggle +map v invert +map V select + +# ========================= +# OPENING +# ========================= + +map o open +map open +map L open + +# ========================= +# DIRECTORY NAVIGATION +# ========================= + +map H cd .. +map gh cd ~ +map ge cd / + +# ========================= +# FILE OPERATIONS +# ========================= + +map y copy +map x cut +map p paste + +map d delete + +map a :push %mkdir +map A :push %touch + +map r rename + +# ========================= +# SEARCH +# ========================= + +map / search +map n search-next +map N search-prev + +map f find +map F find-back + +# ========================= +# FILTER +# ========================= + +map zf filter +map zc clear + +# ========================= +# MARKS (vim-style) +# ========================= + +map m mark-save +map ' mark-load + +# ========================= +# HISTORY +# ========================= + +map history-prev +map history-next + +# ========================= +# RELOAD +# ========================= + +map R reload + +# ========================= +# SHELL / COMMANDS +# ========================= + +map ! shell +map : read + +map & shell-async + +# ========================= +# VISUAL MODES / TAGGING +# ========================= + +map t tag +map T tag-toggle + +# ========================= +# SORTING +# ========================= + +map sn set sortby name +map ss set sortby size +map st set sortby time +map se set sortby ext + +# ========================= +# TOGGLES +# ========================= + +map zh set hidden! +map zr set reverse! + +# ========================= +# VIEW +# ========================= + +map zi set info +map zs set preview + +# ========================= +# JUMPS +# ========================= + +map [ jump-prev +map ] jump-next + +# ========================= +# CLIPBOARD-LIKE +# ========================= + +map c clear +map u unselect + +# ========================= +# MULTI-SELECTION NAV +# ========================= + +map J down-select +map K up-select + +# ========================= +# COMMAND MODE SHORTCUTS +# ========================= + +map w :write +map q quit +map Q quit! + +# ========================= +# FILE INFO +# ========================= + +map i info -- cgit v1.2.3