vim/overlay.nix
2021-04-09 11:18:41 +12:00

47 lines
1.1 KiB
Nix

customPlugins: self: super: {
ta = {
vim = super.vim_configurable.customize {
name = "vim";
vimrcConfig = {
pathogen = {
knownPlugins = super.vimPlugins // (customPlugins super);
pluginNames = [
"vim-racket"
"rainbow-vim"
"vimwiki"
"slimv"
];
};
customRC = ''
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set encoding=utf-8
set autoindent
set smartindent
set ignorecase
set smartcase
set hlsearch
set history=100
set number
set wildmenu
set backspace=eol,indent,start
set tabstop=2 softtabstop=2 expandtab shiftwidth=2 smarttab
let g:rainbow_active = 1
let g:rainbow_ctermfgs = [ 'lightblue', 'lightgreen', 'yellow', 'red', 'magenta']
'';
};
};
};
}