nix/common/dotfiles/vim.nix
2023-07-01 20:08:44 +09:00

31 lines
No EOL
607 B
Nix

{ config, pkgs, ... }: {
# https://nixos.wiki/wiki/Vim
programs.vim = {
enable = true;
plugins = with pkgs.vimPlugins; [
vim-airline
vim-airline-themes
tabnine
nerdtree
rainbow
dracula-vim
];
settings = { ignorecase = true; };
extraConfig = ''
colorscheme dracula
set mouse=a
set number
syntax on
set hlsearch
set ignorecase
set smartcase
set autoindent
set ruler
set shiftwidth=2
set expandtab
set softtabstop=2
set cursorline
AirlineTheme wombat
'';
};
}