mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
fix(cursor): enable alt+delete to work in terminals
This commit is contained in:
5
zshrc
5
zshrc
@@ -217,13 +217,16 @@ zinit light-mode wait lucid \
|
|||||||
for @zdharma-continuum/fast-syntax-highlighting
|
for @zdharma-continuum/fast-syntax-highlighting
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Edit command line
|
# Command line keybindings
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
autoload -z edit-command-line
|
autoload -z edit-command-line
|
||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey "^X^E" edit-command-line
|
bindkey "^X^E" edit-command-line
|
||||||
|
|
||||||
|
# Support for alt+<forward-delete> in some terminals.
|
||||||
|
bindkey "\e[3;3~" kill-word
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Environment and Tool Managers
|
# Environment and Tool Managers
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user