For some tasks like using ruby's pry and tmux both eshell and shell do not behave well. I tried to use term, but my innability to override the keybindings in term makes its use annoying.
How can I set, say, M-o as other-window and M-k as kill-buffer when using term ?