From d2995bc1d5968b5e8d018135748c6768f920d3c8 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 25 Jun 2026 14:51:16 +0530 Subject: Update kakoune + refactor enter-user-mode with -count --- autoload/+init.kak | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'autoload/+init.kak') diff --git a/autoload/+init.kak b/autoload/+init.kak index 43be837..f235e65 100644 --- a/autoload/+init.kak +++ b/autoload/+init.kak @@ -39,12 +39,12 @@ hook global RegisterModified '/' %{ add-highlighter -override global/search regex "%reg{/}" 0:search } -# Preserve count for user modes (look for alternatives) -declare-option -hidden int user_mode_count 0 -define-command enter-user-mode-with-count -params 1 %{ - set-option window user_mode_count %val{count} - enter-user-mode %arg{1} -} +# # Preserve count for user modes (look for alternatives) +# declare-option -hidden int user_mode_count 0 +# define-command enter-user-mode-with-count -params 1 %{ +# set-option window user_mode_count %val{count} +# enter-user-mode %arg{1} +# } # Open directory (bits from explore.kak) hook global RuntimeError '\d+:\d+: ''(?:edit|e)''(.+): is a directory' %{ -- cgit v1.3.1