40 lines
No EOL
740 B
Nix
40 lines
No EOL
740 B
Nix
{ config, pkgs, ... }: {
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
vim-airline
|
|
YouCompleteMe
|
|
tabnine-vim
|
|
nerdtree
|
|
rainbow
|
|
|
|
# Themes
|
|
vim-airline-themes
|
|
nord-vim
|
|
gruvbox
|
|
tokyonight-nvim
|
|
];
|
|
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
|
|
set cursorline
|
|
set nowrap
|
|
let g:rainbow_active = 1
|
|
colorscheme tokyonight-night
|
|
'';
|
|
};
|
|
} |