I was thinking about enabling users define bindings to our widgets manually if they wish, by stating that the plugin will read an environmental variable say ZSH_SYSTEM_CLIPBOARD_DISABLE_DEFAULT_MAPS.
This would enable a user to define it's own bindings to our widgets - and thus potentially make the behaviour of the line editor even more similar to Vim's. In Vim, (by default) you are required to use the registers * or + for the x clipboard, unless you :set clipboard=unnamed.
TBH, I need this feature my self, because actually, I don't want every line edit operation to edit my system's clipboard. Anyway, I'll send a patch shortly, including README updated with the details and usage example.
Hey @kutsan ,
I was thinking about enabling users define bindings to our widgets manually if they wish, by stating that the plugin will read an environmental variable say
ZSH_SYSTEM_CLIPBOARD_DISABLE_DEFAULT_MAPS
.This would enable a user to define it's own bindings to our widgets - and thus potentially make the behaviour of the line editor even more similar to Vim's. In Vim, (by default) you are required to use the registers
*
or+
for the x clipboard, unless you:set clipboard=unnamed
.TBH, I need this feature my self, because actually, I don't want every line edit operation to edit my system's clipboard. Anyway, I'll send a patch shortly, including README updated with the details and usage example.