diff options
| author | 2026-04-17 10:54:09 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:54:09 +0100 | |
| commit | 090d8bd488698205ff62847b0efdfea817b18c56 (patch) | |
| tree | 2722207abe2a7f7490ba1487cefbcf46fa38cab2 | |
| parent | 3ab0436fd85ef72529038d3b0aeecd4d1009b6ed (diff) | |
| download | dotfiles-090d8bd488698205ff62847b0efdfea817b18c56.tar.gz dotfiles-090d8bd488698205ff62847b0efdfea817b18c56.tar.bz2 dotfiles-090d8bd488698205ff62847b0efdfea817b18c56.zip | |
feat: add Ctrl+Shift+u to copy URL under cursor in ghostty
| -rw-r--r-- | KEYBINDS.md | 1 | ||||
| -rw-r--r-- | home/.config/ghostty/config | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/KEYBINDS.md b/KEYBINDS.md index 2175fa8..0dc6fc5 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -252,6 +252,7 @@ Emacs mode (`bindkey -e`) is the base. | Key | Action | |-----|--------| | `Ctrl-Shift-Up` / `Ctrl-Shift-Down` | Scroll one line up / down | +| `Ctrl-Shift-u` | Copy URL under cursor to clipboard | | `Alt-u` | Scroll page up | | `Alt-d` | Scroll page down | | `Alt-g` | Scroll to top | diff --git a/home/.config/ghostty/config b/home/.config/ghostty/config index e283c75..18bb644 100644 --- a/home/.config/ghostty/config +++ b/home/.config/ghostty/config @@ -28,6 +28,9 @@ keybind = ctrl+shift+page_down=unbind # Scroll keybinds (for use outside zellij) keybind = ctrl+shift+up=scroll_page_lines:-1 keybind = ctrl+shift+down=scroll_page_lines:1 +# Copy URL under cursor to clipboard (works inside zellij without mouse) +keybind = ctrl+shift+u=copy_url_to_clipboard + keybind = alt+u=scroll_page_up keybind = alt+d=scroll_page_down keybind = alt+g=scroll_to_top |
