I don't like text editors that perform auto-indentation in my code, because of various reasons, but Kakoune seems to be hardcoded to do that? Is it possible to disable it?
I couldn't find any defined "hooks" for indent
, just for autocomplete
.
Just run :set global disabled_hooks .*-indent
in your Kakoune window or put
set global disabled_hooks .*-indent
in your kakrc
.
Found the answer at https://github.com/mawww/kakoune/wiki/How-To#disable-auto-indentation, although it wasn't immediately clear what "disabled_hooks option" meant.