feat(ghostty): reload config and support copy shortcuts

This commit is contained in:
AquaMorph committed 2026-10-29 19:17:41 -04:00
1 parent 306cb9b608
commit 92db56032c
2 files changed
+7 -1

No files matched your search

+5 -1
View File
@@ -6,7 +6,11 @@
function chezmoiUpdate {
if command -v chezmoi &> /dev/null; then
echo Updating chezmoi dotfiles...
chezmoi update
chezmoi update || return $?
if [[ "$(uname -s)" == "Darwin" ]]; then
# SIGUSR2 reloads Ghostty's config without terminating it; ignore if not running.
pkill -USR2 -x ghostty || [[ $? -eq 1 ]]
fi
fi
}
+2
View File
@@ -15,6 +15,8 @@ keybind = super++=increase_font_size:1
keybind = super+shift+==increase_font_size:1
keybind = super+-=decrease_font_size:1
keybind = ctrl+shift+c=copy_to_clipboard
keybind = super+shift+c=copy_to_clipboard
keybind = ctrl+shift+v=paste_from_clipboard
keybind = super+shift+v=paste_from_clipboard