Replace vim with neovim

This commit is contained in:
iFargle 2023-07-01 21:25:07 +09:00
parent eae72a2a07
commit 63cf13d603
3 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,12 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
# https://nixos.wiki/wiki/Vim # https://nixos.wiki/wiki/Vim
programs.vim = { programs.vneoim = {
enable = true; enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
vim-airline vim-airline
YouCompleteMe YouCompleteMe

View file

@ -3,7 +3,7 @@
imports = [ imports = [
./dconf.nix ./dconf.nix
../../common/dotfiles/git.nix ../../common/dotfiles/git.nix
../../common/dotfiles/vim.nix ../../common/dotfiles/neovim.nix
../../common/dotfiles/bash.nix ../../common/dotfiles/bash.nix
]; ];
} }

View file

@ -2,7 +2,7 @@
home.stateVersion = "23.05"; home.stateVersion = "23.05";
imports = [ imports = [
../../common/dotfiles/git.nix ../../common/dotfiles/git.nix
../../common/dotfiles/vim.nix ../../common/dotfiles/neovim.nix
../../common/dotfiles/bash.nix ../../common/dotfiles/bash.nix
]; ];
} }