Add new kakoune bindings

This commit is contained in:
Filippo Berto 2021-10-02 16:45:12 +02:00
parent f6062dc283
commit 1c590a8890

View file

@ -132,6 +132,8 @@ in
{ mode = "user"; docstring = "Spellcheck English"; key = "S"; effect = ":spell en<ret>"; }
{ mode = "user"; docstring = "Spellcheck"; key = "s"; effect = ":spell "; }
{ mode = "normal"; docstring = "Try next snippet placeholder"; key = "<c-n>"; effect = "<a-;>: insert-c-n<ret>"; }
{ mode = "normal"; docstring = "Search"; key = "/"; effect = "/(?i)"; }
{ mode = "normal"; docstring = "Reverse search"; key = "<a-/>"; effect = "<a-/>(?i)"; }
];
hooks = with pkgs; [
{ name = "BufCreate"; option = ".*"; commands = "editorconfig-load"; }
@ -364,6 +366,6 @@ in
mimeType = "text/plain;text/*";
};
in
builtins.toPath
"${desktopItem}/share/applications/kakoune.desktop";
builtins.toPath
"${desktopItem}/share/applications/kakoune.desktop";
}