From 855709062576e7d17583fe5de23a35d7268a5023 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 15:04:46 +0200 Subject: feat(hm/conf/lf/keybindings): Add a keybind to follow symnlinks --- hm/soispha/conf/lf/keybindings/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hm/soispha/conf/lf/keybindings/default.nix b/hm/soispha/conf/lf/keybindings/default.nix index 8be0dd73..c16a682f 100644 --- a/hm/soispha/conf/lf/keybindings/default.nix +++ b/hm/soispha/conf/lf/keybindings/default.nix @@ -9,6 +9,7 @@ j = null; k = null; m = null; + f = null; # Sorting kn = ":set sortby natural; set info"; @@ -27,7 +28,8 @@ es = "\$ nvim -S \"$f\""; u = "view_file"; cc = "\$sudo -e \"$f\""; - f = "execute"; + fe = "execute"; + fl = ''cd ''${{readlink --canonicalize "$f"}}''; # Archive Mappings au = "unarchive"; -- cgit 1.4.1