diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-06-06 00:21:24 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-06-06 00:21:24 +0530 |
| commit | 1aa539001e0daceafe924c75821c0542b6e322bf (patch) | |
| tree | 677ca773da6538100a765835e8fdf537756db617 /autoload/+init.kak | |
| parent | 6fb8737890f5c7337b4672aa1b09ab8266d10b50 (diff) | |
| download | kakoune-config-1aa539001e0daceafe924c75821c0542b6e322bf.tar.gz kakoune-config-1aa539001e0daceafe924c75821c0542b6e322bf.zip | |
Switch makecmd to be global + disable treesitter
Diffstat (limited to 'autoload/+init.kak')
| -rw-r--r-- | autoload/+init.kak | 11 |
1 files changed, 3 insertions, 8 deletions
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{}<left>' -docstring 'Print opt' map global system v ':info %val{}<left>' -docstring 'Print value' map global system d ': buffer *debug*<ret>' -docstring 'Switch to debug buffer' map global system f ':set buffer filetype ' -docstring 'Set filetype' -map global system M ':set buffer makecmd ""<left>' -docstring 'Set compile command' +map global system M ':set global makecmd ""<left>' -docstring 'Set global compile command' map global system m ': make<ret>' -docstring 'Compile' map global system p ': info %sh{ realpath -s --relative-to="$PWD" "$kak_buffile" }<ret>' -docstring 'Print relative file path' map global system P ': info %val{buffile}<ret>' -docstring 'Print absolute file path' |
