summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvin <vin@vineetk.net>2025-05-07 16:50:06 -0400
committervin <vin@vineetk.net>2025-05-07 16:50:06 -0400
commita53e03c25ec22810577bab7ebdb35fed9e604800 (patch)
tree1eaa510afc6ec4b229ab52a901aac8c078687977
parent8162b9f3739bc0ce1894beb8c76416e972b2e07a (diff)
demiurge, hastur: start switching back to (neo)vim from emacs
-rw-r--r--home.nix51
1 files changed, 49 insertions, 2 deletions
diff --git a/home.nix b/home.nix
index 100319f..4e313d9 100644
--- a/home.nix
+++ b/home.nix
@@ -106,8 +106,8 @@ in {
106 ]; 106 ];
107 107
108 sessionVariables = { 108 sessionVariables = {
109 EDITOR = "emacs"; 109 EDITOR = "nvim";
110 VISUAL = "emacs -nw"; 110 VISUAL = "nvim";
111 PAGER = "less"; 111 PAGER = "less";
112 LESS = "-iR"; 112 LESS = "-iR";
113 LESSHISTFILE = "/dev/null"; 113 LESSHISTFILE = "/dev/null";
@@ -420,6 +420,53 @@ in {
420 }; 420 };
421 }; 421 };
422 422
423 neovim = {
424 enable = true;
425
426 extraConfig = ''
427 set autoindent
428 set autoread
429 set nobackup
430 set nohlsearch
431 set relativenumber
432
433 set bg=dark
434 set cc=80
435 colorscheme everblush
436 '';
437
438 plugins = with pkgs.vimPlugins; [
439 {
440 plugin = (pkgs.vimUtils.buildVimPlugin {
441 name = "everblush-nvim";
442 src = pkgs.fetchFromGitHub {
443 owner = "everblush";
444 repo = "nvim";
445 rev = "9a0e695fdd57b340d3ba2b72406e3ca519029f25";
446 hash = "sha256-O6Erp+Tzk5TV5gpgVs73cO6v9vgeUVYpunrtf/7Ppic=";
447 };
448 });
449 config = ''
450 lua << END
451 require 'everblush'.setup {
452 transparent_background = true,
453
454 override = {
455 LineNr = { fg = '#b3b9b8' },
456 },
457 }
458 END
459 '';
460 }
461 ];
462
463 viAlias = true;
464 vimAlias = true;
465 withNodeJs = false;
466 withPython3 = true;
467 withRuby = false;
468 };
469
423 qutebrowser = { 470 qutebrowser = {
424 enable = true; 471 enable = true;
425 472