bookmarks/cheat/linux.md

676 B

How to show and change a key binding

key bindings

create a binding :

  • bind '"\e[24~":"~"'
  • bind '"\e[24~":""'
  • bind '"\e[24~":"who"'
  • bind '"\e[24~":"ssh hostname\n"'

remove a binding :

  • bind -x '"\e[24~":""'