zsh:在目录分隔符上停止向后终止字 [英] zsh: stop backward-kill-word on directory delimiter
本文介绍了zsh:在目录分隔符上停止向后终止字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 zsh 中,我如何设置行编辑器,以便向后终止字停止在目录分隔符?当前在我的 bash 设置中,如果我输入
In zsh, how can I set up the line editor such that backward-kill-word stops on a directory separator? Currently in my bash setup, if I type
cd ~/devel/sandbox
然后在devel/"之后点击 C-w 点.在我的 zsh 设置中,点将在cd"之后.我想设置 zsh,使其行为类似于 bash.
and then hit C-w point will be right after "devel/". In my zsh setup, point would be after "cd ". I'd like to set up zsh so it behaves similarly to bash.
推荐答案
谷歌快速发现:
或者,也许是更好的解决方法:
Or, perhaps a better fix:
这篇关于zsh:在目录分隔符上停止向后终止字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文