clover: more treats
This commit is contained in:
parent
6cb28f1a2d
commit
13f07b32b0
4 changed files with 7 additions and 48 deletions
|
@ -21,6 +21,7 @@ in
|
||||||
# packages to install for desktop environments (non-server)
|
# packages to install for desktop environments (non-server)
|
||||||
desktop = [
|
desktop = [
|
||||||
git-town
|
git-town
|
||||||
|
lazygit
|
||||||
];
|
];
|
||||||
# packages to install on all servers
|
# packages to install on all servers
|
||||||
server = [ ];
|
server = [ ];
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
_: {
|
_: {
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
casks = [ "eloston-chromium" ];
|
casks = [
|
||||||
|
"eloston-chromium"
|
||||||
|
"db-browser-for-sqlite"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# most of these are needed for my work environment.
|
# most of these are needed for my work environment.
|
||||||
programs = {
|
programs = {
|
||||||
bun.enable = true;
|
bun.enable = true;
|
||||||
zed-editor.enable = true;
|
|
||||||
zsh.profileExtra = ''
|
zsh.profileExtra = ''
|
||||||
_bun() {
|
_bun() {
|
||||||
local context state line
|
local context state line
|
||||||
|
@ -14,6 +13,7 @@
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
doppler
|
doppler
|
||||||
|
deno
|
||||||
nodejs_22
|
nodejs_22
|
||||||
rustup
|
rustup
|
||||||
typescript
|
typescript
|
||||||
|
|
|
@ -5,7 +5,7 @@ _: {
|
||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
gitsigns.setupOpts = {
|
gitsigns.setupOpts = {
|
||||||
current_line_blame = true;
|
current_line_blame = false;
|
||||||
current_line_blame_opts = {
|
current_line_blame_opts = {
|
||||||
virt_text = true;
|
virt_text = true;
|
||||||
virt_text_pos = "right_align";
|
virt_text_pos = "right_align";
|
||||||
|
@ -16,50 +16,5 @@ _: {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
autocomplete.blink-cmp = {
|
|
||||||
enable = true;
|
|
||||||
mappings = {
|
|
||||||
close = null;
|
|
||||||
complete = null;
|
|
||||||
confirm = null;
|
|
||||||
next = null;
|
|
||||||
previous = null;
|
|
||||||
scrollDocsDown = null;
|
|
||||||
scrollDocsUp = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
setupOpts = {
|
|
||||||
keymap = {
|
|
||||||
preset = "super-tab";
|
|
||||||
};
|
|
||||||
completion = {
|
|
||||||
ghost_text.enabled = false;
|
|
||||||
list.selection.preselect = true;
|
|
||||||
trigger = {
|
|
||||||
show_in_snippet = true;
|
|
||||||
};
|
|
||||||
accept.auto_brackets.enabled = true;
|
|
||||||
};
|
|
||||||
signature = {
|
|
||||||
enabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
keymaps =
|
|
||||||
let
|
|
||||||
mkKeymap = mode: key: action: desc: {
|
|
||||||
inherit mode;
|
|
||||||
inherit key action desc;
|
|
||||||
};
|
|
||||||
n = mkKeymap "n"; # normal mode
|
|
||||||
in
|
|
||||||
[
|
|
||||||
# UI
|
|
||||||
(n "<leader>e" ":lua require('snacks').explorer()<CR>" "File Explorer")
|
|
||||||
# Find Files
|
|
||||||
(n "<leader><space>" ":lua require('snacks').picker.smart()<CR>" "Smart Find Files")
|
|
||||||
(n "<leader>f" ":lua require('snacks').picker.grep()<CR>" "Grep Files")
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue