Skip to content

Switched Backspace vs Ctrl+Backspace default behaviour #28

@antis81

Description

@antis81

Probably it's just me, but I am used to deleting a single character using the Backspace key and a Word using Ctrl+Backspace.
In version 0.20-3 the default behaviour is exactly switched. I worked around that:

# Use powerline
USE_POWERLINE="true"
# Source mnajaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
  source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
  source /usr/share/zsh/manjaro-zsh-prompt
fi

# Nils Fenner's key bindings
bindkey '^H' backward-delete-char          # Backspace         -> delete last char
bindkey '^?' backward-kill-word            # Ctrl+Backspace    -> delete last word

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions