mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02:00
feat: set neovim as the default editor
This commit is contained in:
@@ -89,5 +89,7 @@
|
|||||||
|
|
||||||
urldecode = "python3 -c 'import sys, urllib.parse as ul; print(ul.unquote_plus(sys.stdin.read()))'";
|
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()))'";
|
urlencode = "python3 -c 'import sys, urllib.parse as ul; print(ul.quote_plus(sys.stdin.read()))'";
|
||||||
|
|
||||||
|
vim = "nvim";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -30,8 +30,12 @@
|
|||||||
# `home-manager` currently has issues adding them to `~/Applications`
|
# `home-manager` currently has issues adding them to `~/Applications`
|
||||||
# Issue: https://github.com/nix-community/home-manager/issues/1341
|
# Issue: https://github.com/nix-community/home-manager/issues/1341
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
neovim
|
||||||
|
git
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables.EDITOR = "nvim";
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts = {
|
fonts = {
|
||||||
# use fonts specified by user rather than default ones
|
# use fonts specified by user rather than default ones
|
||||||
|
|||||||
Reference in New Issue
Block a user