Create the hidden-mode-line-mode

It, well, hides the mode line!

Copied from http://emacs-doctor.com/emacs-strip-tease.html
This commit is contained in:
Gergely Polonkai
2016-10-25 13:09:26 +02:00
parent 9b75a0777e
commit aaab4edfd6
2 changed files with 27 additions and 2 deletions

View File

@@ -814,6 +814,7 @@
(load "buf-manipulation.el")
(load "package-manip")
(load "text-manip")
(load "frame-manip")
;; Define aliases
(defalias 'yes-or-no-p 'y-or-n-p)
@@ -869,8 +870,8 @@
(global-set-key (kbd "C-x C-r") 'rename-current-buffer-file)
(global-set-key (kbd "C-x C-d") 'delete-current-buffer-file)
(global-set-key (kbd "C-x ~") 'toggle-char-case)
(define-key isearch-mode-map (kbd "<C-return>")
#'isearch-exit-other-end)
(define-key isearch-mode-map (kbd "<C-return>") #'isearch-exit-other-end)
(define-key gpolonkai/pers-map (kbd "m") 'hidden-mode-line-mode)
;; Kudos goes to
;; http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html