{ pkgs, ... }: let vim-configured = with pkgs; vim-full.customize { name = "vim"; # explicitly replace vim vimrcConfig = { customRC = builtins.readFile ../configs/.vimrc; packages.collection = with vimPlugins; { start = [ YouCompleteMe fzf-vim vim-easymotion vim-sleuth vim-better-whitespace vim-tmux-navigator ]; opt = [ ]; }; }; }; in { programs.vim = { defaultEditor = true; package = vim-configured; }; }