On Wed, Apr 19, 2017 at 12:01 AM, Behdad Esfahbod <[email protected]> wrote:
> Humm.  I don't like it that :set arabic activates a vim-side Arabic
> keyboard.  I run vim in gnome-terminal and want to use my X11 keyboards...
>

:set arabic, like :set nocompatible, :behave mswin, :vimdiff, :source
vimrc_example.vim, and some others, sets a well-defined set of
options. Any of them can be overridden by adding the appropriate
counteracting instructions immediately afterwards. For instance, I
have an owncoded Arabic keymap which I prefer to the one set by the
'arabic' option so I set it immediately after setting 'arabic'. If you
prefer to use your own native X11 keyboard (and possibly set 'langmap'
to define ASCII characters as a function of Arabic-Farsi ones) you can
set 'keymap' to the empty string, and possibly also 'langmap' as
desired, as follows:
• maybe, in the vimrc
    :set langmap=someting
• when starting to edit in Farsi
    :new ~/path/to/some/filename.ext
    :setlocal arabic
    :setlocal keymap=


Best regards,
Tony.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to