You are not logged in.
This seems to be a bug in my VIM editor, because never had this problem before.
But I want to be sure first, by asking here if someone else can reproduce this problem.
The steps to reproduce are...
Set your system locale to Esperanto language. Mine → “eo.UTF-8”
Edit any text file from the CMD, like “$ vim file.txt”.
Start Visual-line selection mode.
...and then, in less than 1 second the selection should be lost, the selected block should “deselect”.
Once this happens, VIM starts behaving differently. Needing to press ESC more than one time to enter command-mode, becoming unpredictably unresponsive many times while I am editing and entering insert mode, and forgetting the undo history... so I do a “:u” command and the file changes back to its first version, ignoring all the changes history in between.
The only solution in this case, is closing the file and opening again.
But once I try to visual-select for first time, it happens again.
Thanks in advance for your time.
Last edited by Alexmar (2011-03-22 18:41:36)
Offline
Mostly confirmed (using LANG=eo.utf8 in an urxvt terminal).
First visual line selection is deselected almost immediately. But visual selections of any kind do work afterwards.
Necessity of multiple ESCs is confirmed.
The history seems to remain intact, however. (But I did not try hard.)
Last edited by bernarcher (2011-03-22 15:22:51)
To know or not to know ...
... the questions remain forever.
Offline
Mostly confirmed (using LANG=eo.utf8 in an urxvt terminal).
First visual line selection is deselected almost immediately. But visual selections of any kind do work afterwards.
Necessity of multiple ESCs is confirmed.
Thanks a lot for your time, so it seems there is definitely a bug here.
The history seems to remain intact, however. (But I did not try hard.)
Correct VIM’s behavior, by doing this:
Enter insert mode.
Insert random text.
Exit insert mode.
↑ Repeat some times.
Perform some Undo actions.
Should be, one insertion Undo per :u.
But if I do this after triggering this bug, one undo would ignore all changes made since the “buggy mode” was triggered.
Offline
The undo failure appears to happen irregularly here. But I have not the time for intense tests yet.
BTW: Does all this happen on "eo" only or with other temporarily changed languages as well?
To know or not to know ...
... the questions remain forever.
Offline
Does not happen with any other, apparently... I actually am not sure if I have actually changed language.
When I switch to English or Esperanto, VIM changes its language as well. But with all other languages I have tried so far, VIM is still in English.
I have tried with, es, de, ja, ko, af.
I temporarily switch languages by doing: “$ declare -x LANG="lang.UTF-8"”.
Last edited by Alexmar (2011-03-24 21:22:37)
Offline