diff --git a/modules/nixvim/autocommands.nix b/modules/nixvim/autocommands.nix index 4a658c4..dfd2fe8 100644 --- a/modules/nixvim/autocommands.nix +++ b/modules/nixvim/autocommands.nix @@ -19,6 +19,11 @@ pattern = "TelescopePrompt"; command = "inoremap :close!"; } + { + event = [ "FileType" ]; + pattern = "snacks_picker_input"; + command = "inoremap :close!"; + } # Enable spellcheck for some filetypes {