2008-10-09 Minor Modes I Like

I’m looking at all the lines in my .emacs matching β€œ-mode β€œ ... πŸ˜„ β†’ MinorMode

You find some comments and EmacsWiki links after the code. Maybe some of these were made the default in Emacs 23? I get confused easily, and I haven’t checked.

EmacsWiki

(global-font-lock-mode 1)
(show-paren-mode 1)
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(blink-cursor-mode -1)
(winner-mode 1)
(windmove-default-keybindings)
(column-number-mode 1)
(savehist-mode 1)

(when (fboundp 'mac-print-mode)
  (mac-print-mode 1)
  (global-set-key (kbd "M-p") 'mac-print-buffer))

(iswitchb-mode 1)

I want Emacs to highlight matching parenthesis (show paren) and highlight code (global font lock). β†’ EnablingFontLock

Yes, I like to keep all the distracting stuff away from my Emacs frames (scroll bar, tool bar, menu bar). β†’ ScrollBar, MenuBar

I also hate a blinking cursor (blink cursor). β†’ NonBlinkingCursor

Occasionally I feel like the Emacs window configurations need an β€œundo” (winner), but in actual fact I rarely use it. Actually, I use it about once a year at most. I’ve given up tweaking fancy window configurations. Too bad! β†’ WinnerMode

Moving between windows using C-x o is boring and cumbersome, specially if you have more than two windows. Windmove allows you to switch windows faster. β†’ WindMove

Switching buffers is faster with iswitchb. β†’ IswitchBuffers

Column number mode adds the column to the modeline. Nice. β†’ ModeLineConfiguration

Savehist makes sure your minibuffer history is saved and restored between Emacs sessions. β†’ SaveHist

Mac print mode only works on my Macs, obviously, which is why I wrapped it in a test. β†’ MacPrintMode

​#Emacs