From e76ef28f54687c37a37e4d3b69a06316bad3f8ee Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 27 Jan 2025 09:51:27 +0100 Subject: [PATCH] micro: comment line --- users/pbsds/home/profiles/micro.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/pbsds/home/profiles/micro.nix b/users/pbsds/home/profiles/micro.nix index 2605e40..0848ffb 100644 --- a/users/pbsds/home/profiles/micro.nix +++ b/users/pbsds/home/profiles/micro.nix @@ -45,6 +45,9 @@ "Escape" = "RemoveAllMultiCursors"; "Shift-PageDown" = "SelectPageDown"; "Shift-PageUp" = "SelectPageUp"; + # TODO: test on ghostty + "Ctrl-'" = "lua:comment.comment", # doesn't work on lxterminal, `> raw` shows `EventKey: ': "'"` + "Alt-'" = "lua:comment.comment", # workaround }; programs.micro.ensurePlugins = [ "aspell"