Do some more stuff with folding
diff --git a/src/apps/personal/vim.nix b/src/apps/personal/vim.nix
index 92a645e..b087820 100644
--- a/src/apps/personal/vim.nix
+++ b/src/apps/personal/vim.nix
@@ -104,6 +104,11 @@
 
       set foldmethod=expr
       set foldexpr=nvim_treesitter#foldexpr()
+
+      set viewoptions-=options
+      autocmd BufWinLeave ?* mkview!
+      autocmd BufWinEnter ?* normal zR
+      autocmd BufWinEnter ?* silent! loadview
     '';
 
     plugins = [