Re: Toggle language when I switch to command mode.

2009-03-26 Thread Agathoklis D. Hatzimanikas

On Wed, Mar 25, at 11:03 Paris wrote:
 quote: it is not possible to use greek characters in command mode
 
 May I ask why is that so? You said command line in our private
 exchange and I didn't understand what you were talking about. 
 

From :help 'langmap'
Your language characters will be understood as normal vim English characters
(according to the langmap mappings) in the following cases:
  o Normal/Visual mode (commands, buffer/register names, user mappings)
  o Insert/Replace Mode: Register names after CTRL-R
  o Insert/Replace Mode: Mappings
 Characters entered in Command-line mode will NOT be affected by
 this option.

Regards,
Agathoklis

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Toggle language when I switch to command mode.

2009-03-25 Thread Paris

Hello,

I am using vim to edit documents in greek and it is really frustrating
to have to alt_shift all the time to enter commands. Can vim ignore the
language when in command mode? If not, can I have it toggling the
language while switching to command mode? 

Thanks in advance for any answers.


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Toggle language when I switch to command mode.

2009-03-25 Thread Agathoklis D. Hatzimanikas

Γειά σου Πάρη,

On Wed, Mar 25, at 08:11 Paris wrote:
 
 Hello,
 
 I am using vim to edit documents in greek and it is really frustrating
 to have to alt_shift all the time to enter commands. Can vim ignore the
 language when in command mode? If not, can I have it toggling the
 language while switching to command mode? 

This can be partly solved by using the 'langmap' option, see help 'langmap'
for details, where is also a specific example for the greek language.

However, until recently (patch 7.2.109) this option was broken for
multibyte locales and judging from the headers of your email this also
should apply to you.

So the recommended solution is to upgrade Vim (current patchlevel is
148).

Regards,
Agathoklis

--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Toggle language when I switch to command mode.

2009-03-25 Thread Paris

Thank you for your fast reply my friend. 
well I checked and:

pa...@protagoras:~$ vim --version
VIM - Vi IMproved 7.2 
Included patches: 1-130

so I guess I might be ok. I will check langmap and I will let you
know...

Ευχαριστώ!


On Wed, 2009-03-25 at 20:58 +0200, Agathoklis D. Hatzimanikas wrote:
 Γειά σου Πάρη,
 
 On Wed, Mar 25, at 08:11 Paris wrote:
  
  Hello,
  
  I am using vim to edit documents in greek and it is really frustrating
  to have to alt_shift all the time to enter commands. Can vim ignore the
  language when in command mode? If not, can I have it toggling the
  language while switching to command mode? 
 
 This can be partly solved by using the 'langmap' option, see help 'langmap'
 for details, where is also a specific example for the greek language.
 
 However, until recently (patch 7.2.109) this option was broken for
 multibyte locales and judging from the headers of your email this also
 should apply to you.
 
 So the recommended solution is to upgrade Vim (current patchlevel is
 148).
 
 Regards,
 Agathoklis
 
  
 
 


--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---