]> Freerunner's - dotfiles.git/commitdiff
kak: add a plugin for handling tables
authorAndre Ramnitz <tux.rising@gmail.com>
Wed, 4 Dec 2024 20:40:14 +0000 (21:40 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Wed, 4 Dec 2024 20:40:14 +0000 (21:40 +0100)
dot-config/kak/kakrc

index 0875b5ac601110d740d4e39cbc907dafbeb1c752..4d3d9c7d4e848218f81c9f8617706b1bbda27678 100644 (file)
@@ -70,6 +70,9 @@ lsp-enable
 
 # Enable PLUGin manager
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
+# after first sync of the dotfiles, bundle needs to be installed manually,
+# in order to sync all other plugins with git"
+
 source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak"
 bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle
 bundle kakoune-sudo-write https://github.com/occivink/kakoune-sudo-write
@@ -97,6 +100,7 @@ bundle-noload dabruin.kak https://git.sr.ht/~nasmevka/dabruin.kak
         rm -f "${kak_config}/colors/dabruin.kak"
         rm -f "${kak_config}/colors/dabruin-light.kak"
     }
+bundle kakoune-table https://gitlab.com/listentolist/kakoune-table
 
 # Enable some linting and formatting
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@@ -317,7 +321,9 @@ map global user -docstring 'relative line numbers enable'                r  ': a
 map global user -docstring 'relative line numbers disable'               R  ': rmhl window/nl<ret>'
 map global user -docstring 'help command mode enable'                    h  ': set -add global autoinfo normal<ret>'
 map global user -docstring 'help command mode disable'                   H  ': set -remove global autoinfo normal<ret>'
-map global user l ':enter-user-mode lsp<ret>' -docstring 'LSP mode'
+map global user -docstring 'LSP mode'                                    l  ': enter-user-mode lsp<ret>' 
+map global user -docstring 'Table mode'                                  t  ': enter-user-mode table<ret>' 
+map global user -docstring 'Table mode (locked)'                         T  ': enter-user-mode -lock table<ret>' 
 
 # kak-lsp keys
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────