From 325c12135b528cd74a45c1cb450ef94b19b56d6b Mon Sep 17 00:00:00 2001 From: Mack Date: Fri, 24 Oct 2025 12:05:37 -0500 Subject: [PATCH] made . regex match newlines and formatted keybindings --- kakrc | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/kakrc b/kakrc index d86af22..51667ac 100644 --- a/kakrc +++ b/kakrc @@ -33,27 +33,29 @@ set -add global ui_options terminal_enable_mouse=0 declare-user-mode exiting declare-user-mode table declare-user-mode job -map global user -docstring "Select Exclusive" -map global user -docstring "Select Inclusive" -map global user :b -docstring "Change Buffer" + #map global table ps{2,}d,ps\|&, -docstring "Format Table" # for markdown +map global user -docstring "Select Inclusive" +map global user qalc"" -docstring "Calculate" map global user date+"[%Y-%m-%d%a%H:%M:%S]"\;d -docstring "Insert Date" -map global user :enter-user-modetable -docstring "Table Operations" -map global table c\|===,\|===L -docstring "Select Table Inclusive" # for asciidoc -map global table c\|===,\|===KGLL -docstring "Select Table Exclusive" # for asciidoc -map global table c\|===,\|===s\|&, -docstring "Format Table" # for asciidoc -#map global table c\|===,\|===s(+\||\|+)sd, -docstring "Delete Repeated Spaces" # for asciidoc -map global table c\|===,\|===s(*\|*)sd, -docstring "Delete Repeated Spaces" # for asciidoc -map global user qalc"" -docstring "Calculate" +map global user -docstring "Select Exclusive" +map global user :b -docstring "Change Buffer" +map global user :enter-user-modetable -docstring "Table Operations" +map global user :enter-user-modeexiting -docstring "Open Exit Menu" +map global user :enter-user-modejob -docstring "Open Job Menu" # Case-insensitive search bindings I found on the internet -map global normal '/' /(?i) -docstring 'case insensitive search' -map global normal '' (?i) -docstring 'case insensitive backward search' -map global normal '?' ?(?i) -docstring 'case insensitive extend search' -map global normal '' (?i) -docstring 'case insensitive backward extend-search' +map global normal / /(?iS) -docstring "case insensitive search" +map global normal (?iS) -docstring "case insensitive backward search" +map global normal ? ?(?iS) -docstring "case insensitive extend search" +map global normal (?iS) -docstring "case insensitive backward extend-search" +map global normal s s(?iS) -docstring "case insensitive selection" -map global user m :enter-user-modeexiting -docstring "Open Exit Menu" map global exiting m :w:db:q -docstring "Write, Close Buffer, Quit" -map global user j :enter-user-modejob -docstring "Open Job Menu" map global job t !cat~/jobs/a_job_template.adoc -docstring "Insert Job Template" + +map global table c\|===,\|===L -docstring "Select Table Inclusive" #for asciidoc +map global table c\|===,\|===KGLL -docstring "Select Table Exclusive" #for asciidoc +map global table c\|===,\|===s\|&, -docstring "Format Table" #for asciidoc +map global table c\|===,\|===s(*\|*)sd, -docstring "Delete Repeated Spaces" #for asciidoc