如何删除键绑定

时间:2016-09-10 17:21:49

标签: zsh key-bindings

所以我安装了zsh,当我运行命令时:

bindkey | grep kill-word

我看到以下结果:

"^W" backward-kill-word
"^[^H" backward-kill-word
"^[D" kill-word
"^[d" kill-word
"^[^?" backward-kill-word

我想删除其中一些键绑定,我该怎么做呢?

1 个答案:

答案 0 :(得分:0)

假设您要删除bindkey -r '\ed' 的小写版本。 public function actionYourAction() { ..... $this->view->params['model'] = $model; ..... $this->render(...); } 将删除给定的绑定。

$model = $this->params['model'];