mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2026-11-03 08:17:59 +00:00
feat(ghostty): reload config and support copy shortcuts
This commit is contained in:
1 parent
306cb9b608
commit
92db56032c
2 files changed
+7
-1
No files matched your search
@@ -6,7 +6,11 @@
|
|||||||
function chezmoiUpdate {
|
function chezmoiUpdate {
|
||||||
if command -v chezmoi &> /dev/null; then
|
if command -v chezmoi &> /dev/null; then
|
||||||
echo Updating chezmoi dotfiles...
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ keybind = super++=increase_font_size:1
|
|||||||
keybind = super+shift+==increase_font_size:1
|
keybind = super+shift+==increase_font_size:1
|
||||||
keybind = super+-=decrease_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 = ctrl+shift+v=paste_from_clipboard
|
||||||
keybind = super+shift+v=paste_from_clipboard
|
keybind = super+shift+v=paste_from_clipboard
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user