News for hackers. Stuff that matters.
Re:Mastering Bash and Terminal by kovek on Saturday January 14, 2017 @05:01PM (#13400821)
On my version of zsh I was not able to do the following which is available on bash:

http://unix.stackexchange.com/a/203075

Re:Mastering Bash and Terminal by oblio on Saturday January 14, 2017 @05:15PM (#13400893)
Well, from what I see here: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#..., there's no predefined function for Emacs mode (I could only find the vi mode one: vi-find-next-char).

On the other hand, if you look at the whole widgets section, I'm pretty sure you could hack it yourself since zsh supports used defined widgets (widgets are basically functions used by the zsh command editor).

I never said that it's easy, just that zsh is basically a bash superset. However that does mean that in some occasions this means that you want a Prius and instead get a Ford Mustang kit that you have to assemble yourself :D

Re:Mastering Bash and Terminal by opk on Saturday January 14, 2017 @06:18PM (#13401213)
Binding the vi widget in emacs mode works:

    bindkey '^]' vi-find-next-char
Re:Mastering Bash and Terminal by oblio on Sunday January 15, 2017 @04:05AM (#13403148)
Oh, it does? Cool. I didn't think that you could use a widget from one mode in another.
Re:Mastering Bash and Terminal by JdeBP on Sunday January 15, 2017 @07:09AM (#13403662)
On both version 4.3.12 on Interix and version 5.2 on FreeBSD, "f" followed by a character works perfectly fine in "vi" mode and Control-X Control-F followed by a character, as per the zshzle manual, works perfectly fine in "emacs" mode. What were you doing wrong?