Commit graph

7 commits

Author SHA1 Message Date
Danielle McLean ad496a7745
Support the XDG_STATE_HOME directory
It's a better place to store most of the stuff Vim wants to store lying
around on the filesystem than XDG_CACHE_HOME, it turns out? I'm still
keeping installed packages primarily in XDG_CACHE_HOME, since if that
directory is blown away then the same packages just get reinstalled
automatically and nothing particularly important is lost, but the other
stuff doesn't really belong in there.

Undo files, viminfo, and so on are definitely a good example of "state
data that should be persisted between (application) restarts, but that
is not important or portable enough to the user that it should be stored
in XDG_DATA_HOME", so XDG_STATE_HOME is a fine place for them.
2021-09-22 10:35:51 +10:00
Danielle McLean 5198ba5f2e
Rename my actual vimrc file to init.vim, for consistency with Neovim's approach 2018-01-24 16:58:39 +11:00
Danielle McLean 08a615f546
Switch from vim-plug to minpac, which uses Vim 8.0's native packages and so gives really good startup times 2018-01-12 12:00:06 +11:00
Danielle McLean 405bea7ea4
Slightly simplify bootstrapping in ~/.vimrc 2017-09-11 09:32:17 +10:00
Danielle McLean 2927951bae
Keep netrw's cache in a subdir of Vim's cache, since it's a Vim thing anyways 2016-10-23 15:20:39 +11:00
Danielle McLean 3a55e1df41
Satisfy vint's opinions in the ~/.vimrc 2016-10-17 20:22:02 +11:00
Danielle McLean 6826c738e2
Using stow-rename, unhide all the files :3 2016-10-07 23:12:17 +11:00
Renamed from .vimrc (Browse further)