From 603b8d84308d47bd884a0a1a79a2e92264ffbcd6 Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Thu, 14 Dec 2023 22:11:54 +0100 Subject: [PATCH] feat(nvim): improve startify --- home/neovim.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 3672bd66..8abcfe2e 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -304,10 +304,6 @@ in " Open up a simple file tree nnoremap pv :wincmd v :Ex :vertical resize 30 - " Startify Settings - let g:startify_change_to_dir = 0 - let g:startify_change_to_vcs_root = 1 - " Diff Settings set diffopt+=internal,algorithm:patience @@ -506,7 +502,17 @@ in vim-sleuth # Automatic shiftwidth and expandtab vim-solidity vimspector - vim-startify + + { + plugin = vim-startify; + config = '' + let g:startify_change_to_dir = 0 + let g:startify_change_to_vcs_root = 1 + let g:startify_session_persistence = 1 + let g:startify_bookmarks = [ {'c': '~/nixos-config/home/neovim.nix'} ] + ''; + } + vim-surround vim-test vim-textobj-entire