feat: set neovim as the default editor

This commit is contained in:
ryan4yin
2023-05-29 16:26:50 +08:00
parent 5fd4a788df
commit 814c29f72b
2 changed files with 6 additions and 0 deletions

View File

@@ -89,5 +89,7 @@
urldecode = "python3 -c 'import sys, urllib.parse as ul; print(ul.unquote_plus(sys.stdin.read()))'";
urlencode = "python3 -c 'import sys, urllib.parse as ul; print(ul.quote_plus(sys.stdin.read()))'";
vim = "nvim";
};
}

View File

@@ -30,8 +30,12 @@
# `home-manager` currently has issues adding them to `~/Applications`
# Issue: https://github.com/nix-community/home-manager/issues/1341
environment.systemPackages = with pkgs; [
neovim
git
];
environment.variables.EDITOR = "nvim";
# Fonts
fonts = {
# use fonts specified by user rather than default ones