Sometimes when I am using helm, I want to make the helm completion buffer as big as possible. I know that
helm-enlarge-window will make the window grow by 1 line, but this is awkward and still doesn't quite achieve the desired result. I also know that setting
(setq helm-full-frame t) will make helm open full-frame by default, but I don't want all helm buffer full frame all the time.
What I really want is to bind a key that will instantly expand the helm completion buffer to full-frame. I have tried this (where
*helm XYZ* is the name of the current helm buffer):
(with-current-buffer "*helm XYZ*" (delete-other-windows))
but I get the error "Can't expand minibuffer to full frame." Any other suggestions for how I can toggle the helm buffer to be full frame?