add autocmds configuration
- create autocmds.nix for custom autocommands - integrate autocmds into main configuration
This commit is contained in:
parent
620bad6011
commit
e9e5bb07fb
2 changed files with 9 additions and 0 deletions
8
config/autocmds.nix
Normal file
8
config/autocmds.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{...}: {
|
||||||
|
config.autoCmd = [
|
||||||
|
{ # Balance splits when our teminal resizes
|
||||||
|
command = "wincmd =";
|
||||||
|
event = [ "VimResized" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
# General Configuration
|
# General Configuration
|
||||||
|
./autocmds.nix
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
./options.nix
|
./options.nix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue