Tux's lil' helper
Joined: 02 Dec 2008
|Posted: Tue May 06, 2014 1:43 pm Post subject: Any zsh experts around?
|I'm in the process of tuning my .zshrc, and two things are still annoying:
1. How can I bind ^? (that is, control + question mark) to something?
The normal way would be but ^? represents a delete char so I end up with not working backspace (although ^? works as expected).
The reason for this binding is that ^/ is bind (in emacs keymap) to undo, so it would be natural for ^? to redo.
In emacs itself I resolved this problem with the key code (63 for question mark):
Is it possible to do something similar in zsh?
|(global-set-key '(control 63) 'redo) |
2. I have the following completion:
|zstyle ':completion:*' completer _complete _approximate |
As the result if I type something incorrectly and hit TAB (first time) I will see a list with corrected propositions (what I like) and at the same time misspelled word will be changed automatically at command line with first proposition (what I do not like). So how to get rid of this in-line automatic correction?
Thx in advance
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.