Add taskwarrior, hopefully fix vim config
diff --git a/src/apps/personal/vim.nix b/src/apps/personal/vim.nix
index 07a75af..ac5b66f 100644
--- a/src/apps/personal/vim.nix
+++ b/src/apps/personal/vim.nix
@@ -144,7 +144,16 @@
set viewoptions-=options
autocmd BufWinLeave ?* mkview!
autocmd BufWinEnter ?* normal zR
- autocmd BufWinEnter ?* silent! loadview
+
+ function! s:loadViewOrUnfold()
+ try
+ loadview
+ catch
+ folddoclosed foldopen
+ endtry
+ endfunction
+
+ autocmd BufWinEnter ?* silent! call loadViewOrUnfold
'';
plugins = [