Description
I'm unable to open some files when invoking function counsel-projectile-switch-project
with counsel-projectile-preview-buffers
set to t
. It behaves quite strangely. I type a part of the filename I want to open (eg. gitlab-ci), selection narrows down to just one file, I hit enter or tab and new buffer is opened. But it is blank with no backing file. If I type something and try to save, emacs starts complaining (Please specify a filename for the buffer).
It works well when I use ivy-next-line
and ivy-previous-line
to navigate in a minibuffer (when populated with a list of files from particular project). But as soon as I start to narrow down the list by typing letters, I can see the file content in a preview but I'm unable to open it.
When I configure counsel-projectile-preview-buffers
to nil
, everything works just fine.