commit a53e03c25ec22810577bab7ebdb35fed9e604800
parent 8162b9f3739bc0ce1894beb8c76416e972b2e07a
Author: vin <vin@vineetk.net>
Date: Wed, 7 May 2025 16:50:06 -0400
demiurge, hastur: start switching back to (neo)vim from emacs
Diffstat:
| M | home.nix | | | 51 | +++++++++++++++++++++++++++++++++++++++++++++++++-- |
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/home.nix b/home.nix
@@ -106,8 +106,8 @@ in {
];
sessionVariables = {
- EDITOR = "emacs";
- VISUAL = "emacs -nw";
+ EDITOR = "nvim";
+ VISUAL = "nvim";
PAGER = "less";
LESS = "-iR";
LESSHISTFILE = "/dev/null";
@@ -420,6 +420,53 @@ in {
};
};
+ neovim = {
+ enable = true;
+
+ extraConfig = ''
+ set autoindent
+ set autoread
+ set nobackup
+ set nohlsearch
+ set relativenumber
+
+ set bg=dark
+ set cc=80
+ colorscheme everblush
+ '';
+
+ plugins = with pkgs.vimPlugins; [
+ {
+ plugin = (pkgs.vimUtils.buildVimPlugin {
+ name = "everblush-nvim";
+ src = pkgs.fetchFromGitHub {
+ owner = "everblush";
+ repo = "nvim";
+ rev = "9a0e695fdd57b340d3ba2b72406e3ca519029f25";
+ hash = "sha256-O6Erp+Tzk5TV5gpgVs73cO6v9vgeUVYpunrtf/7Ppic=";
+ };
+ });
+ config = ''
+ lua << END
+ require 'everblush'.setup {
+ transparent_background = true,
+
+ override = {
+ LineNr = { fg = '#b3b9b8' },
+ },
+ }
+ END
+ '';
+ }
+ ];
+
+ viAlias = true;
+ vimAlias = true;
+ withNodeJs = false;
+ withPython3 = true;
+ withRuby = false;
+ };
+
qutebrowser = {
enable = true;