Add `up` condition
Avoid intercepting Ctrl+W and Ctrl+T