about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-30 16:04:24 +0200
committerSoispha <soispha@vhack.eu>2023-08-30 16:04:24 +0200
commitaf39c059028677898adbceba7b0e042d908a9ebf (patch)
tree2e6ead0828a0f88b4be15e647f5f11b9dc4ab344 /hm
parentFix(hm/conf/nvim/mappings): Switch the confirm map from `cc` to `uu` (diff)
downloadnixos-config-af39c059028677898adbceba7b0e042d908a9ebf.zip
Feat(hm/conf/nvim/mappings): Add mapping to go to file (<enter>)
Diffstat (limited to 'hm')
-rw-r--r--hm/soispha/conf/nvim/mappings/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hm/soispha/conf/nvim/mappings/default.nix b/hm/soispha/conf/nvim/mappings/default.nix
index 210918ad..4ff0198a 100644
--- a/hm/soispha/conf/nvim/mappings/default.nix
+++ b/hm/soispha/conf/nvim/mappings/default.nix
@@ -134,6 +134,10 @@
       };
       normal =
         lib.recursiveUpdate {
+          "<Enter>" = {
+            action = "gf";
+            desc = "open file/url under cursor";
+          };
           "<Tab>" = {
             action = ":";
             desc = "jump to command line";