Ghostty चीटशीट
1.0Ghostty terminal के लिए keyboard shortcuts और config essentials
हिन्दी: 2026-03-29
Ghostty एक ऐसा terminal emulator है जो वाकई आपके समय की कद्र करता है। Mitchell Hashimoto (हाँ, HashiCorp के founder) द्वारा बनाया गया, यह fast, native, और बेहतरीन तरीके से opinionated है। कोई Electron नहीं, कोई web views नहीं — बस एक GPU-accelerated terminal जो instantly launch होता है और text ऐसे render करता है जैसे यह ज़िंदगी भर यही करता रहा हो। यह macOS पर platform-native UI इस्तेमाल करता है, यानी यह Mac app जैसा feel करता है क्योंकि यह Mac app है। Tabs, splits, fullscreen — सब कुछ वही shortcuts इस्तेमाल करता है जो आपकी उँगलियाँ पहले से जानती हैं।
Config story refreshingly simple है: एक file, plain key-value pairs, कोई JSON/YAML/TOML debates नहीं। ~/.config/ghostty/ में एक config file डालें और हो गया। Ghostty ज़्यादातर settings live-reload करता है, तो आप बिना restart किए font size या theme tweak कर सकते हैं। defaults इतने सही हैं कि बहुत लोग zero config के साथ चलाते हैं, लेकिन customization की गहराई जब चाहें मौजूद है।
यह cheatsheet macOS shortcuts cover करती है जो आप वाकई इस्तेमाल करेंगे। Ghostty platform-native keybindings पर काफी निर्भर करता है — अगर आपने Terminal.app या iTerm2 इस्तेमाल किया है, तो ये ज़्यादातर familiar लगेंगी। Split management वह जगह है जहाँ Ghostty वाकई चमकता है, prefix key के overhead के बिना tmux जैसा pane control देता है। यहाँ सब कुछ default keybindings इस्तेमाल करता है; अगर आपने config में keybind से remap किया है, तो accordingly adjust करें।
Window Management
Windows आपके top-level containers हैं। Ghostty windows native macOS windows हैं, तो ये बिलकुल वैसे ही behave करती हैं जैसी आप उम्मीद करेंगे।
Tab Management
Tabs बिलकुल Safari या Finder tabs की तरह काम करते हैं — native macOS tab bar, reorder करने के लिए drag करें, पूरा deal।
Split Management
यहाँ Ghostty अपनी काबिलियत दिखाता है। Native splits बिना tmux prefix dance के — बस Cmd-based shortcuts जो natural feel करते हैं।
Text और Clipboard
Standard macOS text manipulation, साथ ही font sizing के लिए कुछ terminal-specific extras।
Scrolling और Navigation
Mouse के बिना अपने scrollback buffer में navigate करें।
Config Essentials
Ghostty ~/.config/ghostty/config पर एक simple key-value config file इस्तेमाल करता है। कोई file extension नहीं, कोई nesting नहीं, कोई ceremony नहीं। प्रति line एक setting, और ज़्यादातर changes बिना restart के तुरंत apply हो जाते हैं।
Tips
Ghostty built-in themes का अच्छा collection लेकर आता है। सब browse करने के लिए terminal में ghostty +list-themes चलाएँ, या बस config में theme = your-pick set करें। आप themes interactively भी preview कर सकते हैं — Ghostty config live-reload करता है, तो file save करें और देखें आपका terminal real time में बदलता है।
Shell integration Ghostty की underrated superpowers में से एक है। shell-integration enable होने पर, Ghostty समझता है कि आपके prompts और command outputs कहाँ शुरू और खत्म होते हैं। इससे prompts के बीच jump करने और scrollback में command boundaries mark करने जैसे features unlock होते हैं। यह zsh, bash, और fish के लिए out of the box काम करता है।
अगर आप सिर्फ splits के लिए tmux इस्तेमाल कर रहे हैं, तो multiplexer से पहले Ghostty के native splits को seriously try करें। Cmd+D और Cmd+Shift+D से आपको zero config में side-by-side और stacked panes मिलते हैं। Session persistence और remote detach खो जाता है, लेकिन local dev workflows के लिए कम complexity इसके लायक है।
Modern, distraction-free look के लिए कुछ window padding के साथ window-decoration = false इस्तेमाल करें। इसे 1.0 से थोड़ा नीचे background-opacity के साथ pair करें, और आपके पास एक terminal है जो design blog पर belong करता दिखता है। Function और form — imagine करें।
keybind config option दिखता है उससे ज़्यादा powerful है। आप कोई भी action remap कर सकते हैं, multi-key sequences बना सकते हैं, और shell commands से भी bind कर सकते हैं। Format है keybind = keys=action, और आप multiple keybind lines stack कर सकते हैं। Bindable actions की पूरी list के लिए docs देखें — दर्जनों हैं।
Ghostty की copy-on-select = true setting एक game-changer है अगर आप अक्सर terminal output से text copy करते हैं। Mouse या keyboard से text select करें, और यह instantly आपके clipboard पर है — कोई Cmd+C ज़रूरी नहीं। यह उन छोटे workflow improvements में से है जो हफ्ते में सैकड़ों keystrokes बचाते हैं।
font-family को एक से ज़्यादा बार specify करके multiple font fallbacks इस्तेमाल कर सकते हैं। Ghostty हर font को क्रम में try करता है, जो emoji, CJK characters, या Nerd Font symbols cover करने के लिए perfect है। बस अपने primary font के नीचे additional font-family lines जोड़ें और Ghostty बाकी handle कर लेता है।