Do all hide-mode-line config in one block

This commit is contained in:
Jeremy Dormitzer 2020-01-03 09:58:59 -05:00
parent 61403b940e
commit fec16dcc97

View File

@ -960,12 +960,6 @@ I don't want which-key display "lambda" for the descriptions of these, so set a
(push '((nil . "select-window-[1-9]") . t) which-key-replacement-alist)
#+END_SRC
* Hide mode line
Does what it says on the box. I use it to hide the mode line in Neotree buffers.
#+BEGIN_SRC emacs-lisp
(use-package hide-mode-line)
#+END_SRC
* NeoTree
A package to browse files in a tree view
#+BEGIN_SRC emacs-lisp
@ -997,8 +991,7 @@ A package to browse files in a tree view
neo-toggle-window-keep-p t
neo-theme (if (display-graphic-p) 'icons 'arrow)
neo-autorefresh t
projectile-switch-project-action 'neotree-project-action)
(add-hook 'neotree-mode-hook 'hide-mode-line-mode))
projectile-switch-project-action 'neotree-project-action))
(use-package all-the-icons
:after (neotree))
@ -4174,3 +4167,10 @@ A better terminal emulator for Emacs. Replaces ansi-term, not EShell.
(leader-def-key "sv" 'open-vterm)
#+END_SRC
* Hide mode line
Does what it says on the box. I use it to hide the mode line in Neotree buffers.
#+BEGIN_SRC emacs-lisp
(use-package hide-mode-line
:hook ((neotree-mode imenu-list-major-mode) . hide-mode-line-mode))
#+END_SRC