nix-community.nixvim/tests/test-sources/plugins/utils/better-escape.nix
Haseeb Majid bab56daddb
plugins/better-escape: init + tests (#626)
* adding better escape

* fixing formatting

* fixing tests

* fixing comments from pr

* fixing comments from pr

* Update tests/test-sources/plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* fixing comments from pr

---------

Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-13 23:47:44 +02:00

16 lines
244 B
Nix

{
empty = {
plugins.better-escape.enable = true;
};
example = {
plugins.better-escape = {
enable = true;
mapping = ["jj" "jk"];
timeout = 150;
clearEmptyLines = false;
keys = "<ESC>";
};
};
}