made . regex match newlines and formatted keybindings

This commit is contained in:
Mack
2025-10-24 12:05:37 -05:00
parent 93c8e5a0c1
commit 325c12135b

34
kakrc
View File

@@ -33,27 +33,29 @@ set -add global ui_options terminal_enable_mouse=0
declare-user-mode exiting declare-user-mode exiting
declare-user-mode table declare-user-mode table
declare-user-mode job declare-user-mode job
map global user <i> <a-i> -docstring "Select Exclusive"
map global user <a> <a-a> -docstring "Select Inclusive"
map global user <o> :b<space> -docstring "Change Buffer"
#map global table <t> <a-i>ps<space>{2,}<ret>d,<a-i>ps\|<ret>&, -docstring "Format Table" # for markdown #map global table <t> <a-i>ps<space>{2,}<ret>d,<a-i>ps\|<ret>&, -docstring "Format Table" # for markdown
map global user <a> <a-a> -docstring "Select Inclusive"
map global user <c> <a-!>qalc<space>""<left> -docstring "Calculate"
map global user <d> <a-!>date<space>+"<space>[%Y-%m-%d<space>%a<space>%H:%M:%S]"<ret>\;d -docstring "Insert Date" map global user <d> <a-!>date<space>+"<space>[%Y-%m-%d<space>%a<space>%H:%M:%S]"<ret>\;d -docstring "Insert Date"
map global user <t> :enter-user-mode<space>table<ret> -docstring "Table Operations" map global user <i> <a-i> -docstring "Select Exclusive"
map global table <i> <a-i>c\|===,\|===<ret><a-\;>L<a-\;> -docstring "Select Table Inclusive" # for asciidoc map global user <o> :b<space> -docstring "Change Buffer"
map global table <a> <a-a>c\|===,\|===<ret><a-\;>K<a-\;>GLL -docstring "Select Table Exclusive" # for asciidoc map global user <t> :enter-user-mode<space>table<ret> -docstring "Table Operations"
map global table <t> <a-i>c\|===,\|===<ret>s\|<ret>&, -docstring "Format Table" # for asciidoc map global user <m> :enter-user-mode<space>exiting<space><ret> -docstring "Open Exit Menu"
#map global table <d> <a-i>c\|===,\|===<ret>s(<space>+\||\|<space>+)<ret>s<space><ret>d, -docstring "Delete Repeated Spaces" # for asciidoc map global user <j> :enter-user-mode<space>job<space><ret> -docstring "Open Job Menu"
map global table <d> <a-i>c\|===,\|===<ret>s(<space>*\|<space>*)<ret>s<space><ret>d, -docstring "Delete Repeated Spaces" # for asciidoc
map global user <c> <a-!>qalc<space>""<left> -docstring "Calculate"
# Case-insensitive search bindings I found on the internet # Case-insensitive search bindings I found on the internet
map global normal '/' /(?i) -docstring 'case insensitive search' map global normal / /(?iS) -docstring "case insensitive search"
map global normal '<a-/>' <a-/>(?i) -docstring 'case insensitive backward search' map global normal <a-/> <a-/>(?iS) -docstring "case insensitive backward search"
map global normal '?' ?(?i) -docstring 'case insensitive extend search' map global normal ? ?(?iS) -docstring "case insensitive extend search"
map global normal '<a-?>' <a-?>(?i) -docstring 'case insensitive backward extend-search' map global normal <a-?> <a-?>(?iS) -docstring "case insensitive backward extend-search"
map global normal s s(?iS) -docstring "case insensitive selection"
map global user m :enter-user-mode<space>exiting<space><ret> -docstring "Open Exit Menu"
map global exiting m :w<ret>:db<ret>:q<ret> -docstring "Write, Close Buffer, Quit" map global exiting m :w<ret>:db<ret>:q<ret> -docstring "Write, Close Buffer, Quit"
map global user j :enter-user-mode<space>job<space><ret> -docstring "Open Job Menu"
map global job t !cat<space>~/jobs/a_job_template.adoc<ret> -docstring "Insert Job Template" map global job t !cat<space>~/jobs/a_job_template.adoc<ret> -docstring "Insert Job Template"
map global table <i> <a-i>c\|===,\|===<ret><a-\;>L<a-\;> -docstring "Select Table Inclusive" #for asciidoc
map global table <a> <a-a>c\|===,\|===<ret><a-\;>K<a-\;>GLL -docstring "Select Table Exclusive" #for asciidoc
map global table <t> <a-i>c\|===,\|===<ret>s\|<ret>&, -docstring "Format Table" #for asciidoc
map global table <d> <a-i>c\|===,\|===<ret>s(<space>*\|<space>*)<ret>s<space><ret>d, -docstring "Delete Repeated Spaces" #for asciidoc