home/zed: adjust a bunch of settings

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-09 16:17:41 +01:00
parent bc3e2e648f
commit a42e66b9a5
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -2,11 +2,20 @@
{ {
programs.zed-editor = { programs.zed-editor = {
enable = true; enable = true;
userSettings = { userSettings = {
autosave = "off";
buffer_font_family = "Fira Code";
load_direnv = "shell_hook"; load_direnv = "shell_hook";
base_keymap = "VSCode";
autosave = "off";
format_on_save = "off"; format_on_save = "off";
remove_trailing_whitespace_on_save = false;
tab_size = 2;
ui_font_family = "Noto Sans";
buffer_font_family = "Fira Code";
terminal.font_family = "Fira Code";
telemetry = { telemetry = {
diagnostics = false; diagnostics = false;
@ -16,10 +25,51 @@
vim_mode = true; vim_mode = true;
theme = { theme = {
mod = "dark"; mode = "dark";
dark = "monokai Classic"; light = "monokai Classic";
dark = "monokai Darker Classic";
};
file_scan_exclusions = [
"**/.git"
"**/.svn"
"**/.hg"
"**/.jj"
"**/CVS"
"**/.DS_Store"
"**/Thumbs.db"
"**/.classpath"
"**/.settings"
"**/.direnv"
];
git.inline_blame.enable = false;
indent_guides = {
enabled = true;
coloring = "indent_aware";
}; };
}; };
userKeymaps = [
{
context = "Workspace";
bindings = {
ctrl-j = "workspace::NewTerminal";
};
}
];
extensions = [
"basher"
"dart"
"dockerfile"
"html"
"nix"
"sql"
"toml"
];
}; };
xdg.configFile."zed/themes/monokai.json".source = let xdg.configFile."zed/themes/monokai.json".source = let