2024-06-27 10:30:37 +00:00
|
|
|
{ config, lib, pkgs, helpers, ... }:
|
2024-01-25 14:51:05 +00:00
|
|
|
|
|
|
|
{
|
2024-01-26 11:38:18 +00:00
|
|
|
imports = [ ./modules ];
|
2024-01-25 14:51:05 +00:00
|
|
|
|
2024-01-29 14:38:44 +00:00
|
|
|
config = {
|
|
|
|
nixvimConfigs.fiesta.setups = {
|
2024-08-15 04:48:11 +00:00
|
|
|
devenvs.enable = true;
|
2024-01-29 14:38:44 +00:00
|
|
|
snippets.enable = true;
|
|
|
|
ui.enable = true;
|
|
|
|
completion.enable = true;
|
|
|
|
treesitter.enable = true;
|
2024-02-03 13:26:52 +00:00
|
|
|
lsp.enable = true;
|
2024-01-30 10:04:56 +00:00
|
|
|
fuzzy-finder.enable = true;
|
2024-01-29 14:38:44 +00:00
|
|
|
debugging.enable = true;
|
|
|
|
desktop-utils.enable = true;
|
2024-11-15 10:23:34 +00:00
|
|
|
qol.enable = true;
|
2024-01-29 14:38:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some general settings.
|
|
|
|
globals = {
|
|
|
|
mapleader = " ";
|
|
|
|
maplocalleader = ",";
|
|
|
|
syntax = true;
|
|
|
|
};
|
2024-01-25 14:51:05 +00:00
|
|
|
|
2024-04-08 03:12:27 +00:00
|
|
|
opts = {
|
2024-01-29 14:38:44 +00:00
|
|
|
encoding = "utf-8";
|
|
|
|
completeopt = [ "menuone" "noselect" ];
|
2024-02-03 13:32:36 +00:00
|
|
|
expandtab = true;
|
|
|
|
shiftwidth = 4;
|
|
|
|
tabstop = 4;
|
2024-01-29 14:38:44 +00:00
|
|
|
};
|
2024-01-25 14:51:05 +00:00
|
|
|
|
2024-01-29 14:38:44 +00:00
|
|
|
keymaps = [
|
|
|
|
{
|
|
|
|
mode = "i";
|
|
|
|
key = "jk";
|
|
|
|
action = "<Esc>";
|
2024-02-23 12:52:43 +00:00
|
|
|
options.desc = "Escape";
|
2024-01-29 14:38:44 +00:00
|
|
|
}
|
2024-02-03 13:32:36 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
mode = "n";
|
|
|
|
key = "<leader>bd";
|
2024-06-27 10:30:37 +00:00
|
|
|
action = helpers.mkRaw "vim.cmd.bdelete";
|
2024-02-23 12:52:43 +00:00
|
|
|
options.desc = "Delete current buffer";
|
2024-02-03 13:32:36 +00:00
|
|
|
}
|
2024-01-29 14:38:44 +00:00
|
|
|
];
|
|
|
|
};
|
2024-01-25 14:51:05 +00:00
|
|
|
}
|