vimwiki and better neovim plugins

This commit is contained in:
tristan 2024-01-07 20:36:33 +00:00
parent 52796f0967
commit 20808b19e1
4 changed files with 27 additions and 15 deletions

View file

@ -38,6 +38,4 @@
}
'';
};
}

View file

@ -1,5 +1,4 @@
{pkgs, ...}: {
imports = [
./browser.nix
];
@ -66,5 +65,4 @@
];
programs.librewolf.enable = true;
}

View file

@ -54,7 +54,6 @@ in {
];
};
bind = [
# movement
"${modifier}, h, movefocus, l"
"${modifier}, l, movefocus, r"

View file

@ -13,8 +13,26 @@
rust-analyzer
];
plugins = with pkgs.vimPlugins; [
vim-surround
vim-commentary
{
plugin = nvim-surround;
type = "lua";
config = ''
require("nvim-surround").setup()
'';
}
{
plugin = comment-nvim;
type = "lua";
config = ''
require("Comment").setup()
'';
}
{
plugin = vimwiki;
config = ''
let g:vimwiki_list = [{'path': '~/Documents/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
'';
}
{
plugin = telescope-nvim;
type = "lua";
@ -31,7 +49,6 @@
type = "lua";
config = builtins.readFile ./lspconfig.lua;
}
firenvim
];
};