add autocmds configuration

- create autocmds.nix for custom autocommands
- integrate autocmds into main configuration
This commit is contained in:
♥ Minnie ♥ 2025-09-29 17:43:36 +08:00
parent 620bad6011
commit e9e5bb07fb
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 9 additions and 0 deletions

8
config/autocmds.nix Normal file
View file

@ -0,0 +1,8 @@
{...}: {
config.autoCmd = [
{ # Balance splits when our teminal resizes
command = "wincmd =";
event = [ "VimResized" ];
}
];
}

View file

@ -1,6 +1,7 @@
{...}: {
imports = [
# General Configuration
./autocmds.nix
./keymaps.nix
./options.nix