Using my prelude-based emacs install full-screen on my laptop, I normally have 2 vertical windows side-by-side. If I invoke helm-mini, it normally takes up half of one vertical window, so about a quarter of my laptop screen. However when it's showing the full path of recent files, these trail off the right edge of the helm window, hiding the useful file name:
I know I can hit C-t
a few times to move the helm window around, and hopefully get a winder window that can hopefully show the file name, but that's cumbersome.
Is there a setting or feature that will help here? Maybe truncating the left side of the line, not the right? Or wrapping the line around? Or something else?
C-]
to shorten the paths inrecentf
source, so Helm entries don't expand the whole screen. Also, disablelinum-mode
in Helm might help.C-]
is a decent hack. Main drawback is that it only works for the current section of helm-mini; so if the cursor is in Buffers, it doesn't shorten recentf. Would still like something automatic.(setq helm-truncate-lines nil)
to avoid truncating the lines. Alternatively, you can usehelm-buffers-list
and(setq ido-use-virtual-buffers t)
to enable visited files to be displayed inhelm-buffers-list
. Choose one depends one whether you want to see the full paths or not.helm-truncate-lines
is already nil for me. maybe something else is going on?(add-hook 'helm-after-initialize-hook (lambda () (with-helm-buffer (visual-line-mode))))
.