aboutsummaryrefslogtreecommitdiff
path: root/autoload/+init.kak
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-06-25 14:51:16 +0530
committerAkshay Nair <phenax5@gmail.com>2026-06-25 14:51:16 +0530
commitd2995bc1d5968b5e8d018135748c6768f920d3c8 (patch)
tree557ef9b87570332a4dc2f24ae95d8dbf46d6418c /autoload/+init.kak
parent2ca3c071b8180e846e379dac8e30db7cbc6b0d7a (diff)
downloadkakoune-config-d2995bc1d5968b5e8d018135748c6768f920d3c8.tar.gz
kakoune-config-d2995bc1d5968b5e8d018135748c6768f920d3c8.zip
Update kakoune + refactor enter-user-mode with -count
Diffstat (limited to 'autoload/+init.kak')
-rw-r--r--autoload/+init.kak12
1 files changed, 6 insertions, 6 deletions
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' %{