diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-01-29 09:26:03 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-01-29 09:26:03 -0800 |
commit | dbb650fc6dadecc788b86d8f0f6ef9d88b574b49 (patch) | |
tree | 39411e63fa3a39f4e04e7e1bd5c3f4460e92e5cc | |
parent | [emacs] stop using `smart-mode-line` module. (diff) | |
download | emacs.d-dbb650fc6dadecc788b86d8f0f6ef9d88b574b49.tar.gz |
[emacs] always split the frame vertically for helm
Instead of having either vertical or horizontal split, always force the split to be vertical.
-rw-r--r-- | emacs.d/inits/20_helm.el | 6 |
1 files changed, 6 insertions, 0 deletions
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)) |