kakoune: load editorconfig
This commit is contained in:
parent
58b8d41ce5
commit
932147304e
2 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
clang-tools
|
clang-tools
|
||||||
|
editorconfig-core-c
|
||||||
kak-lsp
|
kak-lsp
|
||||||
kakoune-config
|
kakoune-config
|
||||||
kakoune-unwrapped
|
kakoune-unwrapped
|
||||||
|
|
|
@ -13,6 +13,9 @@ hook global BufWritePre ^[^*]+$ %{
|
||||||
try %{ execute-keys -draft \%@s\h+$<ret>d }
|
try %{ execute-keys -draft \%@s\h+$<ret>d }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# use .editorconfig
|
||||||
|
hook global WinCreate .* %{editorconfig-load}
|
||||||
|
|
||||||
# useful mappings
|
# useful mappings
|
||||||
map global normal <a-q> ': delete-buffer<ret>'
|
map global normal <a-q> ': delete-buffer<ret>'
|
||||||
map global normal <c-s> ': write<ret>'
|
map global normal <c-s> ': write<ret>'
|
||||||
|
|
Loading…
Reference in a new issue