Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
Action | Windows/Linux | macOS |
---|---|---|
New window | Ctrl+Shift+N | Cmd+N |
Close window | Alt+F4 | Cmd+Shift+W |
;; M-x insert-timestamp-default (またはM-x its)で Wed Feb 17 22:18:46 2021 | |
;; M-x insert-timestamp-htmlcomment (またはM-x itsh)で <!-- 2021-02-17 22:18:52 +09:00 --> (と改行) | |
;; M-x insert-timestamp-unixtime (またはM-x itsu)で 1613567937 | |
;; M-x insert-timestamp-iso (またはM-x itsi)で 2021-02-17T22:19:01+09:00 | |
(defun insert-timestamp-default () | |
"Insert the current timestamp" | |
(interactive) | |
(insert (current-time-string))) | |
(defalias 'its 'insert-timestamp-default) |
These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.
SPC s c remove highlight | |
**** Files manipulations key bindings | |
Files manipulation commands (start with ~f~): | |
| Key Binding | Description | | |
|-------------+----------------------------------------------------------------| | |
| ~SPC f c~ | copy current file to a different location | | |
| ~SPC f C d~ | convert file from unix to dos encoding | | |
| ~SPC f C u~ | convert file from dos to unix encoding | |