所以我安装了zsh,当我运行命令时:
bindkey | grep kill-word
我看到以下结果:
"^W" backward-kill-word
"^[^H" backward-kill-word
"^[D" kill-word
"^[d" kill-word
"^[^?" backward-kill-word
我想删除其中一些键绑定,我该怎么做呢?
答案 0 :(得分:0)
假设您要删除bindkey -r '\ed'
的小写版本。 public function actionYourAction()
{
.....
$this->view->params['model'] = $model;
.....
$this->render(...);
}
将删除给定的绑定。
$model = $this->params['model'];