Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
840 B

  1. ;; the toolbar is just a waste of valuable screen estate
  2. (tool-bar-mode -1)
  3. ;; the menu bar is mostly useless as well
  4. ;; but removing it under OS X doesn't make much sense
  5. (unless (string= system-type "darwin")
  6. (menu-bar-mode -1))
  7. ;; the blinking cursor is nothing, but an annoyance
  8. (blink-cursor-mode -1)
  9. ;; disable startup screen
  10. (setq inhibit-startup-screen t)
  11. ;; nice scrolling
  12. (setq scroll-margin 0
  13. scroll-conservatively 100000
  14. scroll-preserve-screen-position 1)
  15. ;; mode line settings
  16. (line-number-mode t)
  17. (column-number-mode t)
  18. (size-indication-mode t)
  19. ;; enable y/n answers
  20. (fset 'yes-or-no-p 'y-or-n-p)
  21. ;; custom Emacs 24 color themes support
  22. (add-to-list 'custom-theme-load-path (concat prelude-dir "themes/"))
  23. (load-theme 'zenburn t)
  24. (provide 'ui-prelude)