zimfw / input

Applies correct bindkeys for input events.
MIT License
13 stars 3 forks source link
input zim zimfw zsh zsh-plugin zsh-plugins

input

Applies correct bindkeys for input events.

Without this module, you may experience oddities in how Zsh interprets input. For example, pressing LEFT and then the DELETE key may capitalize characters rather than delete them.

Also enables smart URL-pasting, which prevents the user from having to manually escape URLs.

The following key bindings are set in the main keymap:

Settings

This module also provides double-dot parent directory expansion, which will turn a . typed after .. into /.. (e.g. .... into ../../..) so you don't need to type too many slashes and dots. It's disabled by default and can be enabled by adding:

zstyle ':zim:input' double-dot-expand yes

to your ~/.zshrc before where the module is initialized.