-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdefault.nix
51 lines (45 loc) · 1013 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ config, lib, pkgs, helpers, ... }:
{
imports = [ ./modules ];
config = {
nixvimConfigs.fiesta.setups = {
devenvs.enable = true;
snippets.enable = true;
ui.enable = true;
completion.enable = true;
treesitter.enable = true;
lsp.enable = true;
fuzzy-finder.enable = true;
debugging.enable = true;
desktop-utils.enable = true;
qol.enable = true;
};
# Some general settings.
globals = {
mapleader = " ";
maplocalleader = ",";
syntax = true;
};
opts = {
encoding = "utf-8";
completeopt = [ "menuone" "noselect" ];
expandtab = true;
shiftwidth = 4;
tabstop = 4;
};
keymaps = [
{
mode = "i";
key = "jk";
action = "<Esc>";
options.desc = "Escape";
}
{
mode = "n";
key = "<leader>bd";
action = helpers.mkRaw "vim.cmd.bdelete";
options.desc = "Delete current buffer";
}
];
};
}