neovim: More plugins and some config

This commit is contained in:
fleaz 2022-02-16 16:50:31 +01:00
parent fff38b9d03
commit 0d1c4657ca

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.vim = { programs.neovim = {
enable = true; enable = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
# Nice statusbar at the bottom # Nice statusbar at the bottom
@ -11,10 +12,29 @@
# Colorscheme # Colorscheme
vim-monokai vim-monokai
# Fileexplorer in the sidebar
nvim-tree-lua
# Fancy icons for sidebar
nvim-web-devicons
# Bar at the top for all open buffers
bufferline-nvim
# git diff icons on the left sidebar
vim-gitgutter
]; ];
settings = { ignorecase = true; };
extraConfig = '' extraConfig = ''
set mouse=a set mouse=a
set termguicolors
set background=dark
set nu
colorscheme monokai
lua << EOF
require("bufferline").setup{}
require("nvim-tree").setup{}
EOF
''; '';
}; };
} }