moved to neovim

This commit is contained in:
ISnortPennies 2022-08-09 16:42:45 -04:00 committed by ISnortPennies
parent 8e626d25e7
commit 2d60e04682
20 changed files with 147 additions and 103 deletions

34
home-manager/neovim.nix Normal file
View file

@ -0,0 +1,34 @@
{ pkgs, ... }:
{
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
coc = {
enable = true;
package = pkgs.vimPlugins.coc-nvim;
};
plugins = with pkgs.vimPlugins; [
vim-nix
vim-polyglot
vim-smoothie
tokyonight-nvim
rainbow
indentLine
undotree
];
extraConfig = ''
set tabstop=2
set expandtab
set shiftwidth=2
set ignorecase
set incsearch
set number
set noswapfile
let mapleader = "'"
'';
};
}