From dbb650fc6dadecc788b86d8f0f6ef9d88b574b49 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 29 Jan 2016 09:26:03 -0800 Subject: [emacs] always split the frame vertically for helm Instead of having either vertical or horizontal split, always force the split to be vertical. --- emacs.d/inits/20_helm.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs.d/inits/20_helm.el b/emacs.d/inits/20_helm.el index 9186105..6795e23 100644 --- a/emacs.d/inits/20_helm.el +++ b/emacs.d/inits/20_helm.el @@ -2,6 +2,12 @@ :ensure t :bind (("C-x C-f" . helm-find-files) ("M-x" . helm-M-x)) + :init + (setq helm-display-function + (lambda (buf) + (split-window-vertically) + (other-window 1) + (switch-to-buffer buf))) :config (helm-mode)) -- cgit 1.4.1