# 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
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
# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
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
# ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────