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