Friday, April 29, 2011

Language switching shortcuts

All, ...

I'm a real noob when it comes to vim but I *am* learning. I'm
currently writing a lot in Dutch as well as English, but not really in
the same document. Is there a way to set let's say <F11> as a
'English' key and <F12> as a 'Nederlands' key, executing the commands
below:

<F11> would do `set spelllang=en_gb` then `set spell`
<F12> would do `set spelllang=nl` then `set spell` also

I'm not interested in localisation strings changing or my menus in
gvim turning to Dutch; basically, just the spelllang parameter.

I hope there's a way to execute more than one command with a single
key.

Cheers
Kevin Steinhardt

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment