Closed tigerjack closed 2 weeks ago
Did you try Control-o while selecting with helm? This is how I select the new name being typed rather than any other name.
@emacs18 thanks, it seems to work indeed. Still, before, it was working by just using the down arrow. Is this the expected behavior?
For me Control-o or UP arrow work. DOWN arrow moves the cursor even further away from the top item which you are typing. I've been using helm for many years. I don't think anything changed recently.
In https://github.com/emacs-helm/helm/commit/a4380caef3a9e4b1e8d11458852ab67ba9b4cf58, the default value of helm-move-to-line-cycle-in-source
was changed to t
. Spacemacs does not customize this variable.
For me Control-o or UP arrow work.
Thank you for pointing out an alternative.
In emacs-helm/helm@a4380ca, the default value of
helm-move-to-line-cycle-in-source
was changed tot
. Spacemacs does not customize this variable.
And that should be the culprit I guess. I will try to change this variable and test it soon. Many thanks!
The value of the variable does not matter much in that the new item being typed can be reached. Whether it is t or nil, Control-o works. Up/down arrows work slightly differently depending on the value of the variable. If the variable is nil, then down arrow needs to be used to reach the item being typed. If the variable is t, then up arrow needs to be used to reach the item being typed. Thus the new item being typed can be reached either via Control-o or via up/down arrows.
If this variable is not true control-j and control-k does not longer work as expected breaking the evil workflow. I have noticed that too but did not come around to investigate.
I'll let the helm layer customise this var.
Description :octocat:
I think this bug is related to the following two issues, that were solved at some point. https://github.com/syl20bnr/spacemacs/issues/13551 and https://github.com/syl20bnr/spacemacs/issues/8571
Basically, when I try to create a new file in Spacemacs
SPC f f
or rename an existing oneSPC f R
, if a file with a similar name exists, I cannot select the new name.For instance, if I want to rename
_cmds.tex
tocmds.tex
, I cannot selectcmds.tex
using the down arrow as before.Reproduction guide :beetle:
_cmds.tex
and save itSPC f R
) the filecmds.tex
tocmds.tex
.Observed behaviour: :eyes: :broken_heart: I cannot select the new name from the minibuffer with down arrow. The mouse left-click works.![image](https://github.com/syl20bnr/spacemacs/assets/8199216/5f0d7d48-86fb-4e9c-bd7f-17043f28e0be)
Expected behaviour: :heart: :smile: I can select the new name from the minibuffer using the down arrow.
System Info :computer: