dock, cmp, etc. updates
This commit is contained in:
parent
ae548c612e
commit
a52c051376
4 changed files with 49 additions and 6 deletions
|
@ -25,6 +25,7 @@
|
|||
font-family = "Maple Mono NF"
|
||||
font-size = 16
|
||||
theme = "catppuccin-mocha"
|
||||
confirm-close-surface = false
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -41,6 +42,7 @@
|
|||
end
|
||||
'';
|
||||
shellAbbrs = {
|
||||
drs = "darwin-rebuild switch --flake ~/.config/nix-darwin";
|
||||
j = "jj";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -143,12 +143,39 @@
|
|||
plugins.cmp = {
|
||||
enable = true;
|
||||
autoEnableSources = true;
|
||||
settings.sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "luasnip"; }
|
||||
{ name = "path"; }
|
||||
{ name = "buffer"; }
|
||||
];
|
||||
settings = {
|
||||
sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "luasnip"; }
|
||||
{ name = "path"; }
|
||||
{ name = "buffer"; }
|
||||
];
|
||||
mappings = {
|
||||
"<C-n>" = ''
|
||||
cmp.mapping(function()
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item({behavior = 'insert'})
|
||||
else
|
||||
cmp.complete()
|
||||
end
|
||||
end)
|
||||
'';
|
||||
"<C-p>" = ''
|
||||
cmp.mapping(function()
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item({behavior = 'insert'})
|
||||
else
|
||||
cmp.complete()
|
||||
end
|
||||
end)
|
||||
'';
|
||||
};
|
||||
snippet.expand = ''
|
||||
function(args)
|
||||
require('luasnip').lsp_expand(args.body)
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
plugins.tmux-navigator.enable = true;
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
"ghostty"
|
||||
"karabiner-elements"
|
||||
"keepingyouawake"
|
||||
"obsidian"
|
||||
"tailscale"
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,18 @@
|
|||
{ ... }:
|
||||
{
|
||||
system.defaults = {
|
||||
dock.persistent-apps = [
|
||||
"/Applications/Firefox.app"
|
||||
"/System/Applications/Mail.app"
|
||||
"/Applications/Fantastical.app"
|
||||
"/Applications/Things3.app"
|
||||
"/System/Applications/Messages.app"
|
||||
"/Applications/Discord.app"
|
||||
"/Applications/Obsidian.app"
|
||||
"/Applications/Ghostty.app"
|
||||
];
|
||||
};
|
||||
|
||||
homebrew = {
|
||||
casks = [
|
||||
"discord"
|
||||
|
|
Loading…
Reference in a new issue