Toggle deadkey function and bindkey for search&replace shell history