Advertisement
Yunga

Dot Emacs Minimum

May 17th, 2012
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.56 KB | None | 0 0
  1. (set-language-environment "UTF-8")
  2.  
  3. (custom-set-variables
  4.   ;; custom-set-variables was added by Custom.
  5.   ;; If you edit it by hand, you could mess it up, so be careful.
  6.   ;; Your init file should contain only one such instance.
  7.   ;; If there is more than one, they won't work right.
  8.  '(global-hl-line-mode t)
  9.  '(global-linum-mode t)
  10.  '(highlight-current-line-globally t nil (highlight-current-line)))
  11. (custom-set-faces
  12.   ;; custom-set-faces was added by Custom.
  13.   ;; If you edit it by hand, you could mess it up, so be careful.
  14.   ;; Your init file should contain only one such instance.
  15.   ;; If there is more than one, they won't work right.
  16.  '(default ((t (:stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "unknown" :family "Consolas"))))
  17.  '(hl-line ((t (:inherit highlight)))))
  18.  
  19. ;; Show column
  20. (column-number-mode t)
  21.  
  22. ;; No Wrap
  23. (setq truncate-partial-width-windows nil)
  24.  
  25. ;; Highlight Marking
  26. (setq transient-mark-mode t)
  27.  
  28. ;; Show Trailing Spaces                                                                                                                                                        
  29. (setq-default show-trailing-whitespace t)
  30.  
  31. ;; OrgMode
  32. (require 'org-install)
  33. (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
  34. (add-hook 'org-mode-hook 'turn-on-font-lock)
  35. (global-set-key "\C-cl" 'org-store-link)
  36. (global-set-key "\C-ca" 'org-agenda)
  37. (global-set-key "\C-cb" 'org-iswitchb)
  38. (setq org-log-done t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement