fix: more nvim config

This commit is contained in:
Patrick Großmann 2023-11-28 23:18:07 +01:00
parent c9bd4c00a0
commit fc664c2a39
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 13 additions and 0 deletions

View file

@ -26,6 +26,7 @@
require("onedark").load()
'';
extraConfigLuaPost = ''
vim.notify = require("notify")
'';
};
home.sessionVariables.EDITOR = "nvim";

View file

@ -7,12 +7,15 @@
];
programs.nixvim.plugins = {
lualine = {
theme = "auto";
globalstatus = true;
extensions = [
"nvim-tree"
"quickfix"
"fugitive"
];
};
notify.enable = true;
indent-blankline = {
enable = true;
extraOptions = {
@ -38,6 +41,15 @@
extensions = {
fzf-native.enable = true;
};
enabledExtensions = ["notify"];
keymaps = {
"<leader>gf" = {
action = "git_files";
desc = "Telescope Git Files";
};
"<leader>gg" = "live_grep";
};
keymapsSilent = true;
};
# Undo tree