Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Has Apple completely removed the possibility to do this, and to what end?

The primary input language for my MacBook is Norwegian. What I want is for OSX to open MacVim with the US input language instead of Norwegian.

In other words, I want to be able to set a default input language (input source) to an application. I want OSX to KNOW which input language to use for MacVim when I launch it, instead of me having to switch it to the input language I want EVERY SINGLE TIME I launch MacVim.

(From what I have read, this was possible in earlier versions of OSX, then got removed. Why?)

If this is not possible natively, is there any app which does this? I am getting REALLY desperate.

Best regards, Krystah

share|improve this question
    
There's a similar question at Ask Different, even though it doesn't currently mention anything other than the setting in the input source preferences. –  Lauri Ranta Aug 8 '12 at 23:57
    
This only discusses the built-in functionality to change an applications keyboard layout AFTER it has been opened, and this has to be done every single time the program is launched. –  krystah Aug 9 '12 at 8:13
add comment

2 Answers

A workaround I'm using is to make Esc always switch back to English within MacVim. There is a very nice app called KeyRemap4MacBook, and you can use something like below as its private.xml configuration to let MacVim behave in such way. MacVim might start, or be in a different input source, but you can get it right with a single keystroke, which must be pretty familiar to your fingers already. Moreover, this is extremely helpful if you're switching back and forth from input mode to/from normal mode in MacVim, entering and editing non-English text.

<root>
<item>
    <name>In Vim, Make Escape key also Switch to English IM</name>
    <identifier>private.vim_esc_also_switches_to_english_inputmode</identifier>
    <only>VI</only>
    <autogen>__KeyToKey__ KeyCode::ESCAPE,
    <!---->               KeyCode::ESCAPE,KeyCode::VK_CHANGE_INPUTMODE_ENGLISH </autogen>
</item>
</root>

See also: my private.xml in use.

share|improve this answer
add comment

There should be an option in the settings pane for input where you can select if you want the same global or on application basis.

Edit: It only have "Use same one in all documents" and "Allow a different one for each document"

Not sure that works for applications.

share|improve this answer
2  
That only makes OSX remember it until the application closes. The next time I open MacVim I have to set the language again. Again, and again and again. I'm amazed the self-proclaimed "worlds most advanced operating system" requires me to do monkey-work in this manner. –  krystah Aug 9 '12 at 7:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.