init commit
This commit is contained in:
commit
181e6f681e
22 changed files with 940 additions and 0 deletions
36
pkgs/neovim.nix
Normal file
36
pkgs/neovim.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, pkgs, programs, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
||||
# viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
configure = {
|
||||
customRC = ''
|
||||
set cc=80
|
||||
set list
|
||||
set listchars=tab:→\ ,trail:•,precedes:«,extends:»
|
||||
colorscheme habamax
|
||||
'';
|
||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||
start = [
|
||||
(nvim-treesitter.withPlugins (
|
||||
plugins: with plugins; [
|
||||
nix
|
||||
python
|
||||
bash
|
||||
c
|
||||
]
|
||||
))
|
||||
telescope-nvim
|
||||
vim-commentary # gcc
|
||||
vim-startify
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue