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)
|
||||
desktop = [
|
||||
git-town
|
||||
lazygit
|
||||
];
|
||||
# packages to install on all servers
|
||||
server = [ ];
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
_: {
|
||||
homebrew = {
|
||||
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.
|
||||
programs = {
|
||||
bun.enable = true;
|
||||
zed-editor.enable = true;
|
||||
zsh.profileExtra = ''
|
||||
_bun() {
|
||||
local context state line
|
||||
|
@ -14,6 +13,7 @@
|
|||
};
|
||||
home.packages = with pkgs; [
|
||||
doppler
|
||||
deno
|
||||
nodejs_22
|
||||
rustup
|
||||
typescript
|
||||
|
|
|
@ -5,7 +5,7 @@ _: {
|
|||
};
|
||||
git = {
|
||||
gitsigns.setupOpts = {
|
||||
current_line_blame = true;
|
||||
current_line_blame = false;
|
||||
current_line_blame_opts = {
|
||||
virt_text = true;
|
||||
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