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-family = "Maple Mono NF"
|
||||||
font-size = 16
|
font-size = 16
|
||||||
theme = "catppuccin-mocha"
|
theme = "catppuccin-mocha"
|
||||||
|
confirm-close-surface = false
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
|
drs = "darwin-rebuild switch --flake ~/.config/nix-darwin";
|
||||||
j = "jj";
|
j = "jj";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -143,12 +143,39 @@
|
||||||
plugins.cmp = {
|
plugins.cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
settings.sources = [
|
settings = {
|
||||||
{ name = "nvim_lsp"; }
|
sources = [
|
||||||
{ name = "luasnip"; }
|
{ name = "nvim_lsp"; }
|
||||||
{ name = "path"; }
|
{ name = "luasnip"; }
|
||||||
{ name = "buffer"; }
|
{ 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;
|
plugins.tmux-navigator.enable = true;
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
"ghostty"
|
"ghostty"
|
||||||
"karabiner-elements"
|
"karabiner-elements"
|
||||||
"keepingyouawake"
|
"keepingyouawake"
|
||||||
|
"obsidian"
|
||||||
"tailscale"
|
"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 = {
|
homebrew = {
|
||||||
casks = [
|
casks = [
|
||||||
"discord"
|
"discord"
|
||||||
|
|
Loading…
Reference in a new issue