From 54a78095a6ab9b4552676e77ba65441669a103b9 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 24 Feb 2024 19:59:41 +0100 Subject: feat(hm/conf/lf/keymappings): Add sorting mappings --- hm/soispha/conf/lf/keybindings/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'hm/soispha/conf') diff --git a/hm/soispha/conf/lf/keybindings/default.nix b/hm/soispha/conf/lf/keybindings/default.nix index 5d7ca0dc..ba84fad2 100644 --- a/hm/soispha/conf/lf/keybindings/default.nix +++ b/hm/soispha/conf/lf/keybindings/default.nix @@ -11,9 +11,16 @@ in e = null; j = null; k = null; - l = null; ";" = null; + # Sorting + ln = ":set sortby natural; set info"; + ls = ":set sortby size; set info size"; + lt = ":set sortby time; set info time"; + la = ":set sortby atime; set info atime"; + lc = ":set sortby ctime; set info ctime"; + le = ":set sortby ext; set info"; + # File Openers ee = "\$\$EDITOR \"$f\""; es = "\$ nvim -S \"$f\""; -- cgit 1.4.1