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 |
| "Match Groups (1st letter), (rest of letter characters (as many in a row as possible)) | |
| "\u = Uppercase next character of 1st match | |
| "\L = Lowercase rest of word | |
| %s/\v<(\w)(\w{1,})/\u\1\L\2/g |
| // To use this bookmarklet just urlencode this, and remove the comment lines, create a new bookmark and copy this into the url | |
| javascript:(function(){ | |
| //remove image elems | |
| for (let i= document.images.length; i-->0;) | |
| document.images[i].parentNode.removeChild(document.images[i]); | |
| // make TR and TD elems background white | |
| let tableElems = document.querySelectorAll('tr, td'); | |
| for(let i=0; i<tableElems.length;i++) | |
| tableElems[i].style.backgroundColor='white';})(); |