From 84fe4bc6d802e2ea9829e426d07ab58fc81f43bf Mon Sep 17 00:00:00 2001 From: Kyler Clay Date: Wed, 25 Sep 2024 16:56:02 -0400 Subject: [PATCH] Commit for generation 91 --- .../dotfiles/packages/nixvim/config/autocmd.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/glasshouse-desktop/dotfiles/packages/nixvim/config/autocmd.nix b/glasshouse-desktop/dotfiles/packages/nixvim/config/autocmd.nix index 21f7234..70695fd 100644 --- a/glasshouse-desktop/dotfiles/packages/nixvim/config/autocmd.nix +++ b/glasshouse-desktop/dotfiles/packages/nixvim/config/autocmd.nix @@ -5,5 +5,15 @@ event = [ "VimEnter" ]; pattern = [ "*" ]; } + { + command = "silent! mkview"; + event = [ "BufWinLeave" ]; + pattern = [ "*" ]; + } + { + command = "silent! loadview"; + event = [ "BufWinEnter" ]; + pattern = [ "*" ]; + } ]; }