emacs-config/init.org.d/80-functions.org

485 B

Personally Defined Functions

These are the functions defined here by myself, for myself

ModeLine Toggle

as the name suggests, this function toggles the modelinexxk

(defun toggle-mode-line () "toggles the modeline on and off"
 (interactive) 
 (setq mode-line-format
   (if (equal mode-line-format nil)
	  (default-value 'mode-line-format)) )
 (redraw-display))t

(global-set-key (kbd "s-w t") 'toggle-mode-line)