neovim: More plugins and some config
This commit is contained in:
parent
fff38b9d03
commit
0d1c4657ca
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.vim = {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
||||
# Nice statusbar at the bottom
|
||||
|
@ -11,10 +12,29 @@
|
|||
|
||||
# Colorscheme
|
||||
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 = ''
|
||||
set mouse=a
|
||||
set termguicolors
|
||||
set background=dark
|
||||
set nu
|
||||
colorscheme monokai
|
||||
lua << EOF
|
||||
require("bufferline").setup{}
|
||||
require("nvim-tree").setup{}
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue