nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.27k stars 1.68k forks source link

Add `viewdir` to `programs.vim.settings` #5518

Open Skyb0rg007 opened 3 weeks ago

Skyb0rg007 commented 3 weeks ago

Description

The vim package allows for the configuration of different runtime file locations, such as directory, backupdir, and undodir. However, if one wants to completely remove the ~/.vim directory, they also need to specify the viewdir which defaults to $HOME/.vim/view (Documentation Link). While this is possible to change via extraConfig, this is inconsistent with the availability of the other runtime-directory options.

Skyb0rg007 commented 3 weeks ago

viminfofile is also a good candidate for similar reasons described above.