Compare commits
2 commits
95b077c2ba
...
bb15815225
Author | SHA1 | Date | |
---|---|---|---|
bb15815225 | |||
4f118319d3 |
7 changed files with 76 additions and 24 deletions
|
@ -6,6 +6,14 @@
|
|||
];
|
||||
plugins.avante = {
|
||||
enable = true;
|
||||
lazyLoad = {
|
||||
enable = true;
|
||||
settings = {
|
||||
keys = [
|
||||
"<leader>a"
|
||||
];
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
provider = "deepseek";
|
||||
vendors = {
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
plugins.bufferline = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
# Import all your configuration modules here
|
||||
imports = [
|
||||
./rainbow-delimiters.nix
|
||||
./ai/avante.nix
|
||||
./buffer/bufdelete.nix
|
||||
./blink.nix
|
||||
./bufferline.nix
|
||||
./comment.nix
|
||||
./core.nix
|
||||
./direnv.nix
|
||||
|
@ -16,13 +16,15 @@
|
|||
./lazygit.nix
|
||||
./lsp
|
||||
./lualine.nix
|
||||
./neo-tree.nix
|
||||
# ./project.nix
|
||||
./rainbow-delimiters.nix
|
||||
./telescope.nix
|
||||
./toggleterm.nix
|
||||
./treesitter.nix
|
||||
./which-key.nix
|
||||
|
||||
./filemanager.nix
|
||||
./ui.nix
|
||||
];
|
||||
plugins.web-devicons.enable = true;
|
||||
plugins.lz-n.enable = true;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,12 @@
|
|||
'';
|
||||
window.mappings."<space>" = "";
|
||||
};
|
||||
|
||||
plugins.yazi = {
|
||||
enable = true;
|
||||
};
|
||||
dependencies.yazi.enable = true;
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = [ "n" ];
|
||||
|
@ -40,5 +46,29 @@
|
|||
desc = "Toggle Neo-Tree";
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = [ "n" ];
|
||||
key = "<leader>cw";
|
||||
action = "<cmd>Yazi cwd<cr>";
|
||||
options = {
|
||||
desc = "Open the file manager in nvim's working directory";
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = [ "n" ];
|
||||
key = "<c-up>";
|
||||
action = "<cmd>Yazi toggle<cr>";
|
||||
options = {
|
||||
desc = "Resume the last yazi session";
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = [ "n" ];
|
||||
key = "<leader>y";
|
||||
action = "<cmd>Yazi<cr>";
|
||||
options = {
|
||||
desc = "Open yazi at the current file";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
|
@ -1,23 +1,23 @@
|
|||
{ helpers, ... }:
|
||||
{
|
||||
plugins.rainbow-delimiters = {
|
||||
enable = true;
|
||||
highlight = [
|
||||
"RainbowRed"
|
||||
"RainbowYellow"
|
||||
"RainbowBlue"
|
||||
"RainbowOrange"
|
||||
"RainbowGreen"
|
||||
"RainbowViolet"
|
||||
"RainbowCyan"
|
||||
"RainbowDelimiterRed"
|
||||
"RainbowDelimiterYellow"
|
||||
"RainbowDelimiterBlue"
|
||||
"RainbowDelimiterOrange"
|
||||
"RainbowDelimiterGreen"
|
||||
"RainbowDelimiterViolet"
|
||||
"RainbowDelimiterCyan"
|
||||
];
|
||||
};
|
||||
highlight = {
|
||||
RainbowRed = { fg = "#E06C75"; };
|
||||
RainbowYellow = { fg = "#E5C07B"; };
|
||||
RainbowBlue = { fg = "#61AFEF"; };
|
||||
RainbowOrange = { fg = "#D19A66"; };
|
||||
RainbowGreen = { fg = "#98C379"; };
|
||||
RainbowViolet = { fg = "#C678DD"; };
|
||||
RainbowCyan = { fg = "#56B6C2"; };
|
||||
strategy = {
|
||||
# Use global strategy by default
|
||||
default = "global";
|
||||
};
|
||||
query = {
|
||||
default = "rainbow-delimiters";
|
||||
lua = "rainbow-blocks";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
plugins.treesitter = {
|
||||
enable = true;
|
||||
autoLoad = true;
|
||||
nixvimInjections = true;
|
||||
settings = {
|
||||
highlight.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
12
config/ui.nix
Normal file
12
config/ui.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ helpers, ... }:
|
||||
{
|
||||
colorschemes.catppuccin = {
|
||||
enable = true;
|
||||
settings = {
|
||||
flavour = "mocha";
|
||||
};
|
||||
};
|
||||
plugins.bufferline = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue