Skip to content

Commit 3b01041

Browse files
committed
feat: add ghostty
1 parent d4c65bd commit 3b01041

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

default.nix

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,41 @@
139139
precmd_functions+=(_direnv_hook)
140140
'';
141141

142+
programs.ghostty = {
143+
enable = true;
144+
package = if pkgs.stdenv.isDarwin then null else pkgs.ghostty;
145+
settings = {
146+
config-file = "?config.local";
147+
148+
theme = "Dark Pastel";
149+
font-family = "UDEV Gothic 35NFLG";
150+
adjust-cell-height = 3;
151+
unfocused-split-opacity = 0.6;
152+
window-padding-color = "extend";
153+
window-padding-balance = true;
154+
macos-titlebar-style = "native";
155+
font-size = 16;
156+
split-divider-color = "#3f3f3f";
157+
quit-after-last-window-closed = true;
158+
window-save-state = "never";
159+
mouse-hide-while-typing = true;
160+
161+
keybind = [
162+
"cmd+shift+equal=decrease_font_size:1"
163+
"cmd+\\=new_split:right"
164+
"cmd+shift+\\=new_split:left"
165+
"cmd+-=new_split:down"
166+
"cmd+shift+-=new_split:up"
167+
"cmd+f=write_screen_file:open"
168+
"cmd+h=goto_split:left"
169+
"cmd+j=goto_split:down"
170+
"cmd+k=goto_split:up"
171+
"cmd+l=goto_split:right"
172+
"global:cmd+ctrl+t=toggle_quick_terminal"
173+
];
174+
};
175+
};
176+
142177
programs.lazygit = {
143178
enable = true;
144179
settings = {

0 commit comments

Comments
 (0)