I have a mapping defined like
noremap <M-n> :tabn<CR>
which works nicely, except in the following scenario: I run :make, I'm waiting while javac is thinking, then I suddenly realize something I should check in another file and try to switch tabs. I cannot do this, since until :make completes I'm still in command mode, and :tabn does not have the desired effect.
Is there any way I can map directly to the action of switching tabs, and not to the keys that would be typed to do so?