From 039596413de98100271b65c66210c87b70bd8461 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Mon, 30 Sep 2024 23:11:09 +0200 Subject: [PATCH] home: Disable Vim --- home/config/nil/home.nix | 72 ---------------------------------------- 1 file changed, 72 deletions(-) diff --git a/home/config/nil/home.nix b/home/config/nil/home.nix index 4cbb295..3850d7b 100644 --- a/home/config/nil/home.nix +++ b/home/config/nil/home.nix @@ -228,78 +228,6 @@ in { serverAliveCountMax = 60; }; - programs.vim = { - enable = true; - settings = { - background = "dark"; - expandtab = false; - number = true; - shiftwidth = 4; - tabstop = 4; - }; - extraConfig = '' - " no Vi compatibility - set nocompatible - - " Unicode support - set encoding=utf-8 - - " special characters - set list - set listchars=tab:»·,trail:·,extends:… - - set ruler - - " movement - noremap r h - noremap R H - noremap n j - noremap t k - noremap h l - noremap H L - - " beginning of previous word - noremap p b - - " end of word - noremap l e - noremap L E - - " change one char - noremap X s - - " repeat search - noremap ; n - noremap : N - - " paste - noremap s p - noremap S P - - " join lines - noremap N J - - " change - noremap e c - noremap E C - - " replace - noremap z r - noremap Z R - - " inclusive jump - noremap m f - noremap M F - - " exlusive jump - noremap f t - noremap F T - - " command mode - noremap - : - ''; - }; - programs.nushell = { enable = true; envFile.text = let