My personal vim configuration.
Note that in favor of not having my home folder be itself a git repository
(which is probably fine but kind of too much git for comfort), I placed the
.vimrc in here (i.e. so when cloned it will become ~/.vim/.vimrc) and a good
way to set it up is
- (if you do not already have a
~/.vimdir)git clone git@github.com:unphased/vim-config ~/.vim - back
~/.vimrcup if it exists. Then delete it. cd ~ && ln -s .vim/.vimrc .vimrc
Linux virtual terminal setup is tracked here too:
~/.vim/linux-vt-install.sh
That script links the VT palette/setup files into ~/.config and adds guarded
Bash/Zsh hooks so the root-level setup script only runs when TERM=linux.
The installer also sets up the boot-time VT setup service by default. It applies the user files first, then asks sudo only for the systemd unit:
~/.vim/linux-vt-install.sh
Use --force only if an existing local ~/.config/tty-pastel file should be
replaced by the tracked symlink.
Use --no-systemd only when the system unit should be left untouched.
The systemd install syncs a root-owned runtime copy into /etc/linux-vt so the
unit does not execute scripts directly from the home directory.