Re: Toggle language when I switch to command mode.
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 -~--~~~~--~~--~--~---
Re: Toggle language when I switch to command mode.
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. landmap is still great for me. When in command mode you can see what you type and switch. On Wed, 2009-03-25 at 22:48 +0200, Agathoklis D. Hatzimanikas wrote: > On Wed, Mar 25, at 10:28 Paris wrote: > > 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). > > > > > > > I gave langmap a chance but it has problems... Actually the same > > problems that occur if I map all greek characters one by one to the > > appropriate english ones with map. > > ":" wont work neither will command sequences like "gg" > > All the normal commands and regular motions should work out of the box > (they do for me). > As I already told you in our private exchange, is not possible to use > greek characters in command mode, thus is not supported by 'langmap' or > any other known way to me. > There is also another patch By Konstantin Korikov for 7.0 that you can use > CTRL-* in GTK-Gui but I never used it. > > http://lostclus.linux.kiev.ua/Other_Works/Patches?action=AttachFile&do=get&target=vim70-langmapctrl.patch > > 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.
On Wed, Mar 25, at 10:28 Paris wrote: > 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). > > > > I gave langmap a chance but it has problems... Actually the same > problems that occur if I map all greek characters one by one to the > appropriate english ones with map. > ":" wont work neither will command sequences like "gg" All the normal commands and regular motions should work out of the box (they do for me). As I already told you in our private exchange, is not possible to use greek characters in command mode, thus is not supported by 'langmap' or any other known way to me. There is also another patch By Konstantin Korikov for 7.0 that you can use CTRL-* in GTK-Gui but I never used it. http://lostclus.linux.kiev.ua/Other_Works/Patches?action=AttachFile&do=get&target=vim70-langmapctrl.patch 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.
Ignore my last mail!!! langmap works fine and I have to thank Agathoklis! On Wed, 2009-03-25 at 22:28 +0200, Paris wrote: > I gave langmap a chance but it has problems... Actually the same > problems that occur if I map all greek characters one by one to the > appropriate english ones with map. > ":" wont work neither will command sequences like "gg" > > > 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 -~--~~~~--~~--~--~---
Re: Toggle language when I switch to command mode.
I gave langmap a chance but it has problems... Actually the same problems that occur if I map all greek characters one by one to the appropriate english ones with map. ":" wont work neither will command sequences like "gg" 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 -~--~~~~--~~--~--~---
Re: Toggle language when I switch to command mode.
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 -~--~~~~--~~--~--~---
Re: Toggle language when I switch to command mode.
Γειά σου Πάρη, 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 -~--~~~~--~~--~--~---
Toggle language when I switch to command mode.
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 -~--~~~~--~~--~--~---