From e46f4088c0a3c0a435445c7cab44bd5b10d1f53c Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 6 Nov 2019 23:40:47 +0100 Subject: [PATCH] Replace vim_configurable with vim --- configuration.nix | 2 +- modules/vim.nix | 31 ------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 modules/vim.nix diff --git a/configuration.nix b/configuration.nix index 79fb9e2..eeb2fa1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,10 +18,10 @@ environment.systemPackages = with pkgs; [ raspberrypi-tools - (import ./modules/vim.nix) git tmux htop + vim ]; # File systems configuration for using the installer's partition layout diff --git a/modules/vim.nix b/modules/vim.nix deleted file mode 100644 index e768f7f..0000000 --- a/modules/vim.nix +++ /dev/null @@ -1,31 +0,0 @@ -# Vim configuration -with import {}; - -vim_configurable.customize { - name = "vim"; - vimrcConfig.customRC = '' - ""Basic stuff - set number - set ttyfast - ""Colors - colorscheme synthwave - set t_Co=256 - ""Misc - set clipboard=unnamedplus - set nofoldenable - ""Spaces instead of tabs - set expandtab - set tabstop=2 - set shiftwidth=2 - ""Don't litter swp files everywhere - set backupdir=~/.cache - set directory=~/.cache - ""Keybindings - set pastetoggle= - let mapleader="\" - nnoremap n :noh - "Move the current line up or down - nnoremap k :m-2== - nnoremap j :m+== - ''; -}