nix/laptop/home-manager/dotfiles/vim.nix
2023-06-30 14:08:28 +09:00

25 lines
No EOL
578 B
Nix

{
environment.systemPackages = [
(pkgs.vim_configurable.customize {
vimrcConfig.customRc = ''
set nocompatible
filetype on
syntax on
set number
set cursorline
set cursorcolumn
set nowrap
set expandtab
set tabstop=2
set shiftwidth=2
set incsearch
set ignorecase
set hlsearch
set history=1000
set wildmenu
set wildmode=list:longest
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
'';
})
];
}