]> Freerunner's - dotfiles.git/commitdiff
kak: update config
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 11 Mar 2024 21:34:44 +0000 (22:34 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:53 +0000 (18:18 +0200)
config/kak/kakrc

index 88e8e4412dd8cde0ff1ae4b8ec175cb994cc1a36..2c725d1b7482f3306afa30f4fbf0b587e7cac841 100644 (file)
@@ -128,8 +128,6 @@ define-command -hidden -params 2 inc %{ try %{
 map global normal '#' :comment-line<ret> -docstring 'comment line'
 map global normal '<a-#>' :comment-block<ret> -docstring 'comment block'
 map global goto m '<esc>m;' -docstring 'matching char'
-map global normal <c-a> ': inc %val{count} +<ret>'
-map global normal <c-x> ': inc %val{count} -<ret>'
 map global normal q Q
 unmap global normal q
 map global normal -docstring 'Next buffer '     <c-n> ': buffer-next<ret>'
@@ -155,6 +153,8 @@ map global user -docstring 'Selection mode'                s      ':enter-user-m
 map global user -docstring 'edit kakrc'                    e      ': e ~/.config/kak/kakrc<ret>'
 map global user -docstring 'relative line numbers enable'  r      ': add-highlighter window/nl number-lines -min-digits 3 -relative -hlcursor<ret>'
 map global user -docstring 'relative line numbers disable' R      ': remove-highlighter window/nl<ret>'
+map global user -docstring 'decrease value'                d      ': inc %val{count} -<ret>'
+map global user -docstring 'increase value'                i      ': inc %val{count} +<ret>'
 
 
 # buffer user mode