vimwiki and better neovim plugins
This commit is contained in:
parent
52796f0967
commit
20808b19e1
4 changed files with 27 additions and 15 deletions
|
|
@ -38,6 +38,4 @@
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./browser.nix
|
./browser.nix
|
||||||
];
|
];
|
||||||
|
|
@ -66,5 +65,4 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.librewolf.enable = true;
|
programs.librewolf.enable = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,6 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
bind = [
|
bind = [
|
||||||
|
|
||||||
# movement
|
# movement
|
||||||
"${modifier}, h, movefocus, l"
|
"${modifier}, h, movefocus, l"
|
||||||
"${modifier}, l, movefocus, r"
|
"${modifier}, l, movefocus, r"
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,26 @@
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
];
|
];
|
||||||
plugins = with pkgs.vimPlugins; [
|
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;
|
plugin = telescope-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
|
|
@ -31,7 +49,6 @@
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = builtins.readFile ./lspconfig.lua;
|
config = builtins.readFile ./lspconfig.lua;
|
||||||
}
|
}
|
||||||
firenvim
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue