2014-01-15 59 views

回答

0

我已經找到了答案

function delete_then_insert(){ 
    zle kill-whole-line 
    zle vi-insert 
} 

zle -N delete_then_insert 
bindkey -M vicmd dd delete_then_insert