You can bind keys like Ctrl-Left and Ctrl-Right in
.inputrc like this:
# Ctrl-Left "\033[1;5D": backward-word # Ctrl-Right "\033[1;5C": forward-word
How would I bind Ctrl-Up and Ctrl-Down to nothing?
# Ctrl-Up "\033[1;5A": null # Ctrl-Down "\033[1;5B": null
This obviously does not work.
I use these keys for doing stuff in tmux (nested configuration), but often
;3~ gets output into the terminal when I use either of the keys.
I'm hoping that I will be able to bind them to nothing while still having the keys work for tmux.