Add new kakoune bindings
This commit is contained in:
parent
f6062dc283
commit
1c590a8890
1 changed files with 4 additions and 2 deletions
|
|
@ -132,6 +132,8 @@ in
|
||||||
{ mode = "user"; docstring = "Spellcheck English"; key = "S"; effect = ":spell en<ret>"; }
|
{ mode = "user"; docstring = "Spellcheck English"; key = "S"; effect = ":spell en<ret>"; }
|
||||||
{ mode = "user"; docstring = "Spellcheck"; key = "s"; effect = ":spell "; }
|
{ 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 = "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; [
|
hooks = with pkgs; [
|
||||||
{ name = "BufCreate"; option = ".*"; commands = "editorconfig-load"; }
|
{ name = "BufCreate"; option = ".*"; commands = "editorconfig-load"; }
|
||||||
|
|
@ -364,6 +366,6 @@ in
|
||||||
mimeType = "text/plain;text/*";
|
mimeType = "text/plain;text/*";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
builtins.toPath
|
builtins.toPath
|
||||||
"${desktopItem}/share/applications/kakoune.desktop";
|
"${desktopItem}/share/applications/kakoune.desktop";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue