2 Commits

Author SHA1 Message Date
J. Fernando Sánchez
93aeb0019e Replace wezterm with ghostty
wezterm was consuming quite a lot of memory, and I wasn't really using
any of the advanced features.

I will reconsider if ghostty ends up using just as much.
2026-02-26 11:13:04 +01:00
J. Fernando Sánchez
9befba5522 jj: improve ux 2026-02-11 10:33:09 +01:00
5 changed files with 83 additions and 4 deletions

View File

@@ -0,0 +1,59 @@
# This is the configuration file for Ghostty.
#
# This template file has been automatically created at the following
# path since Ghostty couldn't find any existing config files on your system:
#
# /home/j/.config/ghostty/config
#
# The template does not set any default options, since Ghostty ships
# with sensible defaults for all options. Users should only need to set
# options that they want to change from the default.
#
# Run `ghostty +show-config --default --docs` to view a list of
# all available config options and their default values.
#
# Additionally, each config option is also explained in detail
# on Ghostty's website, at https://ghostty.org/docs/config.
#
# Ghostty can reload the configuration while running by using the menu
# options or the bound key (default: Command + Shift + comma on macOS and
# Control + Shift + comma on other platforms). Not all config options can be
# reloaded while running; some only apply to new windows and others may require
# a full restart to take effect.
# Config syntax crash course
# ==========================
# # The config file consists of simple key-value pairs,
# # separated by equals signs.
font-family = Iosevka
# window-padding-x = 2
#
# # Spacing around the equals sign does not matter.
# # All of these are identical:
# key=value
# key= value
# key =value
# key = value
#
# # Any line beginning with a # is a comment. It's not possible to put
# # a comment after a config option, since it would be interpreted as a
# # part of the value. For example, this will have a value of "#123abc":
# background = black
#123abc
# theme = Dark Modern
# theme = Soft Server
# theme = Zenwritten Dark
# theme = Operator Mono Dark
# theme = Monokai Remastered
# theme = Solarized Dark Patched
theme = 3024 Night
#
# # Empty values are used to reset config keys to default.
# key =
#
# # Some config options have unique syntaxes for their value,
# # which is explained in the docs for that config option.
# # Just for example:
# resize-overlay-duration = 4s 200ms
keybind = ctrl+[=text:\x1b

View File

@@ -3,6 +3,7 @@ theme = "github_dark"
[editor]
line-number = "relative"
mouse = false
auto-pairs = false
[editor.cursor-shape]
insert = "bar"

View File

@@ -29,7 +29,8 @@
pkgs.nerd-fonts.fira-code
pkgs.nerd-fonts.monoid
wezterm
#wezterm
ghostty
# Editors
emacs
@@ -147,7 +148,12 @@
home.shellAliases = {
lg = "lazygit";
gs = "git status";
gs = "git status";
j = "jj";
js = "jj status";
jt = "jj tug";
jf = "jj git fetch";
jl = "jj log";
};
programs.fish = {
@@ -173,7 +179,12 @@
#programs.helix.enable = true;
#programs.helix.defaultEditor = true;
programs.zoxide.enable = true;
programs.zoxide = {
enable = true;
options = [
"--cmd z"
];
};
programs.bash = {
enable = true;
initExtra = ''
@@ -200,5 +211,6 @@
"niri" = createDotLink "niri";
"jj" = createDotLink "jj";
"helix" = createDotLink "helix";
"ghostty" = createDotLink "ghostty";
};
}

View File

@@ -10,11 +10,18 @@ email = "j@sanchezrada.es"
name = "J. Fernando Sánchez"
email = "f.sanchez@thechannelstore.tv"
[aliases]
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
l = ["log"]
s = ["status"]
f = ["git", "fetch"]
p = ["git", "push"]
[ui]
pager = "delta" #":builtin"
diff-formatter=":git"
paginate = "auto"
default-command = ["log", "--reversed"]
[merge-tools.delta]
diff-args=["--color-only", "--side-by-side", "$left", "$right", "--width=$width"]

View File

@@ -424,7 +424,7 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+return hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Mod+return hotkey-overlay-title="Open a Terminal: ghostty" { spawn "ghostty"; }
Mod+space hotkey-overlay-title="Run an Application: wofi" { spawn "sh" "-c" "wofi --show dmenu,drun"; }
Mod+Delete hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }