These are my vim files and this, my dear reader, is a turtle.
.---. _....._
-------------------\ / p `\ .-""`: :`"-.
| v i i i i i m m m \ |__ - | ,' . ' ',
----------------------- ._> \ /: : ; :,
'-. '\`. . : ' \
`. | .'._.' '._.' '._.'. |
`;-\. : : ' '/,__,
.-'`'._ ' . : _.'.__.'
((((-'/ `";--..:..--;"` \
.' / \ \
((((-' ((((-'
Import the module in your home-manager config:
home-manager.users.jojo = {
imports = [ inputs.dotfiles.homeManagerModules.vim ];
};
- Configures
programs.vimandprograms.neovimwith plugins managed by nix - Creates
~/.vimrcthat sets up plugin paths (for MacVim compatibility) - Creates
~/.gvimrcfor MacVim GUI settings - Creates
~/.vim/nix-packsymlink to nix plugin directory - Configures neovide-specific keybindings (Cmd+S, Cmd+V, etc.)
- Terminal vim - via
programs.vim - Neovim/Neovide - via
programs.neovim - MacVim - uses
~/.vimrcand~/.gvimrc, finds plugins via~/.vim/nix-pack
Plugins are defined in module.nix and managed entirely by nix. No more Vundle or manual plugin installation.
Between 2013-2026 this code lived under https://github.com/eljojo/vimfiles It was originally based on scrooloose's excellent vimfiles: https://github.com/scrooloose/vimfiles