From 59a999046b6e2a885bd89c1a062767ca3e068561 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 2 Jan 2024 14:52:15 +0800 Subject: [PATCH] feat(editor): set neovim as default editor --- home/neovim/home.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 home/neovim/home.nix diff --git a/home/neovim/home.nix b/home/neovim/home.nix new file mode 100644 index 00000000..f7b4e534 --- /dev/null +++ b/home/neovim/home.nix @@ -0,0 +1,13 @@ +{ pkgs +, ... }: { + programs.neovim = { + enable = true; + defaultEditor = true; + extraPackages = with pkgs; [ ]; + plugins = with pkgs.vimPlugins; [ vim-nix ]; + + viAlias = true; + vimAlias = true; + vimdiffAlias = true; + }; +}