From 53effb71854cdff840dbad7f1468899f116cd5b4 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 5 Mar 2025 19:46:12 +0000 Subject: [PATCH] fix(cursor): enable alt+delete to work in terminals --- zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 61b01de..c1ee73d 100644 --- a/zshrc +++ b/zshrc @@ -217,13 +217,16 @@ zinit light-mode wait lucid \ for @zdharma-continuum/fast-syntax-highlighting # ============================================================================== -# Edit command line +# Command line keybindings # ============================================================================== autoload -z edit-command-line zle -N edit-command-line bindkey "^X^E" edit-command-line +# Support for alt+ in some terminals. +bindkey "\e[3;3~" kill-word + # ============================================================================== # Environment and Tool Managers # ==============================================================================