nix/common/dotfiles/vim.nix
2023-07-01 18:54:47 +09:00

21 lines
No EOL
413 B
Nix

# https://nixos.wiki/wiki/Vim
programs.vim = {
enable = true;
plugins = with pkgs.vimPlugins; [ vim-airline ];
settings = { ignorecase = true; };
extraConfig = ''
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
colorscheme slate
set cursorline
'';
};