From fd01cf370c2a9f0688a78bfc33b08d18da7c97de Mon Sep 17 00:00:00 2001 From: genofire Date: Sat, 23 Jul 2022 11:53:42 +0200 Subject: [PATCH] nixos/home: improve vim --- home/default.nix | 1 - nixos/default.nix | 17 +++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/home/default.nix b/home/default.nix index 779acfa..b4d4655 100644 --- a/home/default.nix +++ b/home/default.nix @@ -33,7 +33,6 @@ figlet tmux w3m - #neovim wget xh minio-client diff --git a/nixos/default.nix b/nixos/default.nix index 78ec662..12fbfb9 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -49,7 +49,6 @@ bmon figlet tmux - neovim xh liboping mtr @@ -60,11 +59,22 @@ # nice prompt together with grml pure-prompt ]; + environment.shellAliases = { + ip = "ip --color"; + watch = "watch -c"; + grep = "grep --color=always --exclude-dir=.git"; + vim = "nvim"; + }; + programs.mosh.enable = true; # open firewall programs.neovim = { enable = true; defaultEditor = true; + configure.customRC = '' + syntax on + set number relativenumber + ''; }; # zsh @@ -79,11 +89,6 @@ prompt pure; ''; # promptInit = ""; - shellAliases = { - ip = "ip --color"; - watch = "watch -c"; - grep = "grep --color=always --exclude-dir=.git"; - }; }; # tmux