Skip to content

Instantly share code, notes, and snippets.

@xuchunyang
Created September 1, 2015 17:32
Show Gist options
  • Save xuchunyang/c00cba11689be090142d to your computer and use it in GitHub Desktop.
Save xuchunyang/c00cba11689be090142d to your computer and use it in GitHub Desktop.
[helm] Hide mode line and minibuffer content
(setq helm-echo-input-in-header-line t)
;; Hide minibuffer when the above option is on.
(add-hook 'helm-minibuffer-set-up-hook
#'helm-hide-minibuffer-maybe)
;; Don't use helm's own displaying mode line function
(fset 'helm-display-mode-line #'ignore)
(add-hook 'helm-after-initialize-hook
(defun hide-mode-line-in-helm-buffer ()
"Hide mode line in `helm-buffer'."
(with-helm-buffer
(setq-local mode-line-format nil))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment