Ghostty Opción+Retroceso ¿No Funciona? Arreglado

Descubre cómo configurar Ghostty para emular macOS borrando palabras con Option+Backspace en la terminal. Añade la línea keybind = option+backspace=text: \x1b\x7f en ~/.config/ghostty/config y recarga la configuración; elige entre Meta-Backspace (\x1b\x7f) o Ctrl-W (\x17) según tus preferencias.

22 sept 2025 • 2 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

En Ghostty puede configurarse combinaciones de teclas para enviar caracteres de control arbitrarios, lo que permite reproducir el comportamiento conocido de macOS de borrar palabras completas con Option+Retroceso en la terminal.

Problema y causa probable: versiones de Ghostty anteriores a v1.2.0 parecían soportar borrar palabras con Option+Retroceso sin configuración adicional; sin embargo es probable que ese comportamiento cambiara tras el PR #7320, por lo que ahora hay que mapear explícitamente la tecla.

Cómo configurarlo: añada esta línea en su archivo de configuración, por ejemplo en ~/.config/ghostty/config: keybind = option+backspace=text: \x1b\x7f. Con esta asignación, al pulsar Option+Retroceso se enviará la secuencia \x1b\x7f correspondiente a Meta-Backspace, equivalente a readline backward-kill-word, y se borrará la palabra anterior en la edición de línea del shell.

Alternativa y diferencia con Ctrl-W: también puede mapear Option+Retroceso a Ctrl-W usando keybind = option+backspace=text: \x17. Esto envía Ctrl-W y activa unix-word-rubout, que borra unidades separadas por espacios en blanco. En cambio \x1b\x7f considera como separadores símbolos y barras, por lo que resulta más práctico al editar rutas o palabras con guiones.

Consejos prácticos: pruebe ambas secuencias para decidir cuál encaja mejor con su flujo de trabajo, y recuerde reiniciar o recargar Ghostty tras cambiar la configuración. Si necesita automatizar ajustes o integrar esta solución en entornos a medida, en Q2BSTUDIO desarrollamos aplicaciones a medida y soluciones de software a medida adaptadas a sus necesidades; consulte nuestro servicio de desarrollo de aplicaciones a medida para más información.

Quiénes somos: Q2BSTUDIO es una empresa de desarrollo de software especializada en aplicaciones a medida, inteligencia artificial, ciberseguridad, servicios cloud AWS y Azure, servicios de inteligencia de negocio y automatización de procesos. Ofrecemos soluciones de ia para empresas, agentes IA y proyectos con Power BI para mejorar la toma de decisiones. Si busca integrar capacidades avanzadas de IA o automatizar flujos en su infraestructura, podemos ayudarle con soluciones llave en mano y auditorías de seguridad; vea nuestras soluciones de inteligencia artificial.

Resumen rápido: para recuperar la funcionalidad Option+Retroceso similar a macOS en Ghostty utilice \x1b\x7f para Meta-Backspace o \x17 para Ctrl-W, y adapte la elección según si quiere que los separadores incluyan símbolos y barras o solo espacios en blanco.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat