nix/common/dotfiles/vim.nix

31 lines
611 B
Nix
Raw Normal View History

2023-07-01 12:02:59 +02:00
{ config, pkgs, ... }: {
# https://nixos.wiki/wiki/Vim
programs.vim = {
enable = true;
2023-07-01 13:08:44 +02:00
plugins = with pkgs.vimPlugins; [
vim-airline
vim-airline-themes
2023-07-01 13:14:29 +02:00
dracula-vim
tabnine-vim
2023-07-01 13:08:44 +02:00
nerdtree
rainbow
];
2023-07-01 12:02:59 +02:00
settings = { ignorecase = true; };
extraConfig = ''
2023-07-01 13:08:44 +02:00
colorscheme dracula
2023-07-01 12:02:59 +02:00
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
2023-07-01 13:08:44 +02:00
AirlineTheme wombat
2023-07-01 12:02:59 +02:00
'';
};
}