about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-04-15 15:23:23 +0100
committerdevhell <devhell@mailfresser.de>2021-04-15 15:23:23 +0100
commit2ba5113ab4f37539f3ec686914b575567f0d0a8b (patch)
treedd487e2552565a408482cecbbff174e7a2c8cc96 /modules
parentadd4475d51caaf03aca07337e9ad5405ecf2a05c (diff)
modules: Remove my vim
Silly me for not noticing that I was using the pkgs version rather than
the module version. Thanks to @aszlig for pointing out my idiocy. :)
Diffstat (limited to 'modules')
-rw-r--r--modules/module-list.nix1
-rw-r--r--modules/user/devhell/programs/vim/default.nix90
2 files changed, 0 insertions, 91 deletions
diff --git a/modules/module-list.nix b/modules/module-list.nix
index fbd0346a..517b9e87 100644
--- a/modules/module-list.nix
+++ b/modules/module-list.nix
@@ -32,7 +32,6 @@
   ./user/devhell/profiles/base.nix
   ./user/devhell/profiles/packages.nix
   ./user/devhell/profiles/services.nix
-  ./user/devhell/programs/vim
   ./user/openlab/base.nix
   ./user/openlab/labtops.nix
   ./user/openlab/speedtest.nix
diff --git a/modules/user/devhell/programs/vim/default.nix b/modules/user/devhell/programs/vim/default.nix
deleted file mode 100644
index aafe4c14..00000000
--- a/modules/user/devhell/programs/vim/default.nix
+++ /dev/null
@@ -1,90 +0,0 @@
-{ pkgs, lib, config, ... }:
-
-let
-  cfg = config.vuizvui.user.devhell.programs.vim;
-
-  customVim = pkgs.vim_configurable.customize {
-    name = "vim";
-    vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
-      start = [
-        ale
-        awesome-vim-colorschemes
-        delimitMate
-        goyo-vim
-        i3config-vim
-        indentLine
-        lightline-vim
-        limelight-vim
-        sleuth
-        tabular
-        vim-illuminate
-        vim-lastplace
-        vim-nix
-        vim-signify
-      ];
-      opt = [ vimtex ];
-    };
-    vimrcConfig.customRC = ''
-      set nocompatible
-      set showcmd
-      set showmatch
-      set ignorecase
-      set smartcase
-      set incsearch
-      set modeline
-      set smarttab
-      set expandtab
-      set smartindent
-      set ruler
-      set tabstop=4
-      set softtabstop=4
-      set shiftwidth=4
-      set textwidth=79
-      set background=dark
-      set history=500
-      set backspace=indent,eol,start
-      set nu
-      set cursorline
-      set laststatus=2
-      set signcolumn=number
-      set timeout timeoutlen=5000 ttimeoutlen=100
-
-      filetype plugin indent on
-      colorscheme tender
-
-      " signify Settings
-      set updatetime=100
-
-      " indentLine Settings
-      let g:indentLine_char_list = ['|', '¦', '┆', '┊']
-      let g:indentLine_setColors = 1
-      let g:indentLine_fileTypeExclude = ['help', 'main', 'vimfiler', 'json']
-      let g:better_whitespace_filetypes_blacklist = ['diff', 'gitcommit',
-      \ 'help', 'markdown', 'leaderGuide']
-
-      " goyo Settings
-      autocmd! User GoyoEnter Limelight
-      autocmd! User GoyoLeave Limelight!
-
-      " lightline Settings
-      let g:lightline = {'colorscheme': 'deus'}
-      set noshowmode
-
-      " vimtex Settings
-      let g:tex_flavor = 'latex'
-
-      " Autoload
-      autocmd FileType tex :packadd vimtex
-    '';
-  };
-
-in {
-  options.vuizvui.user.devhell.programs.vim = {
-    enable = lib.mkEnableOption "devhell's Vim";
-  };
-
-  config = lib.mkIf cfg.enable {
-    environment.variables.EDITOR = "vim";
-    environment.systemPackages = [ customVim ];
-  };
-}