From f4a387dd1078f4fd7d2ebde59f4013cd3502f5ba Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 17 Nov 2020 15:51:30 +0300 Subject: [PATCH 1/3] rc kakrc: Sort the keywords --- rc/filetype/kakrc.kak | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rc/filetype/kakrc.kak b/rc/filetype/kakrc.kak index 58c06000..454c999a 100644 --- a/rc/filetype/kakrc.kak +++ b/rc/filetype/kakrc.kak @@ -55,13 +55,14 @@ add-highlighter shared/kakrc/shell8 region -recurse '<' '(^|\h)\K-shell-script- evaluate-commands %sh{ # Grammar - keywords="edit write write-all kill quit write-quit write-all-quit map unmap alias unalias - buffer buffer-next buffer-previous delete-buffer add-highlighter remove-highlighter - hook trigger-user-hook remove-hooks define-command echo debug source try catch fail nop - set-option unset-option update-option declare-option execute-keys evaluate-commands - prompt menu on-key info set-face unset-face rename-client set-register select - change-directory rename-session colorscheme declare-user-mode enter-user-mode - edit! write! kill! quit! write-quit! delete-buffer! provide-module require-module" + keywords="add-highlighter alias buffer buffer-next buffer-previous catch change-directory + colorscheme debug declare-option declare-user-mode define-command delete-buffer + delete-buffer! echo edit edit! enter-user-mode evaluate-commands execute-keys fail + hook info kill kill! map menu nop on-key prompt provide-module quit quit! + remove-highlighter remove-hooks rename-client rename-session require-module select + set-face set-option set-register source trigger-user-hook try + unalias unmap unset-face unset-option update-option + write write! write-all write-all-quit write-quit write-quit!" attributes="global buffer window current normal insert menu prompt goto view user object number-lines show-matching show-whitespaces fill regex dynregex group flag-lines From 8a1ac1998ddf4b986ec3f33c5679e5e34467b4c2 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 17 Nov 2020 15:52:18 +0300 Subject: [PATCH 2/3] rc kakrc: Add the `arrange-buffers` keyword --- rc/filetype/kakrc.kak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc/filetype/kakrc.kak b/rc/filetype/kakrc.kak index 454c999a..8c526ab1 100644 --- a/rc/filetype/kakrc.kak +++ b/rc/filetype/kakrc.kak @@ -55,10 +55,10 @@ add-highlighter shared/kakrc/shell8 region -recurse '<' '(^|\h)\K-shell-script- evaluate-commands %sh{ # Grammar - keywords="add-highlighter alias buffer buffer-next buffer-previous catch change-directory - colorscheme debug declare-option declare-user-mode define-command delete-buffer - delete-buffer! echo edit edit! enter-user-mode evaluate-commands execute-keys fail - hook info kill kill! map menu nop on-key prompt provide-module quit quit! + keywords="add-highlighter alias arrange-buffers buffer buffer-next buffer-previous catch + change-directory colorscheme debug declare-option declare-user-mode define-command + delete-buffer delete-buffer! echo edit edit! enter-user-mode evaluate-commands execute-keys + fail hook info kill kill! map menu nop on-key prompt provide-module quit quit! remove-highlighter remove-hooks rename-client rename-session require-module select set-face set-option set-register source trigger-user-hook try unalias unmap unset-face unset-option update-option From 9237fc038847564e3abee5909864f5f18d72003b Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 17 Nov 2020 15:58:58 +0300 Subject: [PATCH 3/3] rc kakrc: Add the `rename-buffer` keyword --- rc/filetype/kakrc.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/kakrc.kak b/rc/filetype/kakrc.kak index 8c526ab1..00f3c4be 100644 --- a/rc/filetype/kakrc.kak +++ b/rc/filetype/kakrc.kak @@ -59,8 +59,8 @@ evaluate-commands %sh{ change-directory colorscheme debug declare-option declare-user-mode define-command delete-buffer delete-buffer! echo edit edit! enter-user-mode evaluate-commands execute-keys fail hook info kill kill! map menu nop on-key prompt provide-module quit quit! - remove-highlighter remove-hooks rename-client rename-session require-module select - set-face set-option set-register source trigger-user-hook try + remove-highlighter remove-hooks rename-buffer rename-client rename-session require-module + select set-face set-option set-register source trigger-user-hook try unalias unmap unset-face unset-option update-option write write! write-all write-all-quit write-quit write-quit!" attributes="global buffer window current