home/common/nvf | more configs

This commit is contained in:
Don Harper 2025-08-08 15:18:22 -05:00
parent bda5f1c550
commit f3eb385fd2

View file

@ -1,9 +1,18 @@
{ config, pkgs, nixvim, ... }: { {
config,
pkgs,
nixvim,
...
}: {
home.packages = with pkgs; [tree-sitter fd ripgrep];
programs.nvf = { programs.nvf = {
enable = true; enable = true;
settings = { settings = {
vim = { vim = {
autocomplete.nvim-cmp.enable = true; autocomplete.nvim-cmp.enable = true;
binds = {
cheatsheet.enable = true;
};
dashboard.alpha = { dashboard.alpha = {
enable = true; enable = true;
theme = "dashboard"; theme = "dashboard";
@ -49,18 +58,23 @@
mode = ["n"]; mode = ["n"];
} }
{ {
key = "<leader>o"; key = "<leader>ow";
action = ":Obsidian<CR>"; action = ":ObsidianWorkspace<CR>";
mode = ["n"]; mode = ["n"];
} }
{ {
key = "<leader>gg"; key = "<leader>od";
action = ":LazyGit<CR>"; action = ":ObsidianDailies<CR>";
mode = ["n"]; mode = ["n"];
} }
{ {
key = "<leader>gl"; key = "<leader>on";
action = ":LazyGitLog<CR>"; action = ":ObsidianNew<CR>";
mode = ["n"];
}
{
key = "<leader>oN";
action = ":ObsidianNewFromTemplate<CR>";
mode = ["n"]; mode = ["n"];
} }
]; ];
@ -108,6 +122,7 @@
enable = true; enable = true;
setupOpts = { setupOpts = {
legacy_commands = true; legacy_commands = true;
ui.enable = false;
completion.nvim-cmp = true; completion.nvim-cmp = true;
templates = {subdir = "Templates";}; templates = {subdir = "Templates";};
daily_notes = { daily_notes = {
@ -135,4 +150,3 @@
}; };
}; };
} }