Enable zsh using 8th bit as meta without warning

In my quest to configure my shell to work just the way I want it with respect to the alt / meta key, I am having some problems. I recently added "bindkey -m" to my .zshrc and now with every . I run the zsh shell (i.e., open a terminal window). I get this error "warning:` bindkey -m "disables multibyte file support."

Now, since I don't really like multibyte support, can I turn off this warning? It would be even better to use an 8-bit meta, as well as multi-byte. Also note that this happens with a clean install of zsh on 4.3.9 and 4.3.10

My reasoning about desire is bindkey -m

  • vim: alt mappings (my own personal commands / mappings)
  • zsh: alt collation (e.g. Alt-. to invoke the last argument of the previous command)
  • emacs: alt mappings (many built-in modules)

So, is there a way to disable this warning or otherwise do what I'm trying to do?

+3
source share
1 answer

You can sweep the message under the rug:

bindkey -m 2>/dev/null

Do not display screens ( \[) also for Alt? Alt-. works for me, for example, by default.

Also, if you're not talking about command line editing modes, vim and emacs handle their own keyboard mapping. Settings in zsh will not affect them.

+2
source

Source: https://habr.com/ru/post/1718632/


All Articles