is it possible to lock keyboard layout for app in ubuntu?
===

I'm using two keyboard layouts in my ubuntu. But in vim I'm using a keymap switching so I want to lock English  layout to gvim window whenever I switch to it. Is it possible in ubuntu?