From 1aa539001e0daceafe924c75821c0542b6e322bf Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 6 Jun 2026 00:21:24 +0530 Subject: Switch makecmd to be global + disable treesitter --- autoload/+init.kak | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'autoload/+init.kak') diff --git a/autoload/+init.kak b/autoload/+init.kak index 6f5f607..7f0f2f8 100644 --- a/autoload/+init.kak +++ b/autoload/+init.kak @@ -9,15 +9,10 @@ nop %sh{ # Disable indent trimming set-option global disabled_hooks .*-trim-indent -eval %sh{kak-tree-sitter -dksvv --init "${kak_session}" --with-highlighting --with-text-objects} +# Disabled treesitter because eh +# eval %sh{kak-tree-sitter -dksvv --init "${kak_session}" --with-highlighting --with-text-objects} eval %sh{kcr init kakoune} -# hook global BufCreate .*[.]tsx %{ -# set-option buffer filetype tsx -# set-option buffer tree_sitter_lang tsx -# set-option buffer lsp_language_id typescriptreact -# } - colorscheme phenax set-option global autoreload yes set-option global incsearch true @@ -87,7 +82,7 @@ map global system o ':info %opt{}' -docstring 'Print opt' map global system v ':info %val{}' -docstring 'Print value' map global system d ': buffer *debug*' -docstring 'Switch to debug buffer' map global system f ':set buffer filetype ' -docstring 'Set filetype' -map global system M ':set buffer makecmd ""' -docstring 'Set compile command' +map global system M ':set global makecmd ""' -docstring 'Set global compile command' map global system m ': make' -docstring 'Compile' map global system p ': info %sh{ realpath -s --relative-to="$PWD" "$kak_buffile" }' -docstring 'Print relative file path' map global system P ': info %val{buffile}' -docstring 'Print absolute file path' -- cgit v1.3.1