From 65e91cbb8244e5a3c6d0550def21c9045af1e319 Mon Sep 17 00:00:00 2001 From: Arthur Barraux Date: Fri, 9 Jan 2026 14:47:37 +0100 Subject: [PATCH] Update to new map-key version --- init.lisp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/init.lisp b/init.lisp index 65253a3..8e42079 100644 --- a/init.lisp +++ b/init.lisp @@ -39,10 +39,18 @@ ) ) +(define open-chevrons (lambda() ( + (editor-insert-char "<") + (editor-insert-char ">") + (move-cursor "left") + ) + ) + ) -(map-key "(" open-parenthesis) -(map-key "[" open-brackets) -(map-key "{" open-curly-brackets) -(map-key "'" open-single-quotes) -(map-key "\"" open-double-quotes) +(map-key "(" open-parenthesis "no-prefix") +(map-key "[" open-brackets "no-prefix") +(map-key "{" open-curly-brackets "no-prefix") +(map-key "'" open-single-quotes "no-prefix") +(map-key "\"" open-double-quotes "no-prefix") +(map-key "<" open-chevrons "no-prefix")