diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 15:04:46 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 20:33:35 +0200 |
commit | 855709062576e7d17583fe5de23a35d7268a5023 (patch) | |
tree | 7a8c031b9a7306151376be30e65218c60f2826e9 | |
parent | fix(hm/conf/lf/keybindings): Use the autogenerate cd mappings (diff) | |
download | nixos-config-855709062576e7d17583fe5de23a35d7268a5023.tar.gz nixos-config-855709062576e7d17583fe5de23a35d7268a5023.zip |
feat(hm/conf/lf/keybindings): Add a keybind to follow symnlinks
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/lf/keybindings/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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"; |