Advertisement
swaggboi

emacs-dotfile-05212020

May 21st, 2020
2,441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.61 KB | None | 0 0
  1. ;; emacs dotfile
  2. ;; Daniel Bowling <dbowling@akamai>
  3. ;; May 2020
  4. ;; version 0.1
  5.  
  6. (custom-set-variables
  7.  ;; custom-set-variables was added by Custom.
  8.  ;; If you edit it by hand, you could mess it up, so be careful.
  9.  ;; Your init file should contain only one such instance.
  10.  ;; If there is more than one, they won't work right.
  11.  '(custom-enabled-themes (quote (tango-dark))))
  12. (custom-set-faces
  13.  ;; custom-set-faces was added by Custom.
  14.  ;; If you edit it by hand, you could mess it up, so be careful.
  15.  ;; Your init file should contain only one such instance.
  16.  ;; If there is more than one, they won't work right.
  17.  )
  18.  
  19. ;; Don't blink cursor
  20. (blink-cursor-mode (- (*) (*) (*)))
  21. (setq visible-cursor nil)
  22.  
  23. ;; Use spaces for indent
  24. (setq-default indent-tabs-mode nil)
  25.  
  26. ;; Put backup files in one place
  27. (setq backup-directory-alist '(("." . "~/.emacs.d")))
  28.  
  29. ;; Put auto-save files in one place
  30. (setq auto-save-file-name-transforms '((".*" "~/.emacs.d/" t)))
  31.  
  32. ;; Show column number next to line number
  33. (setq column-number-mode t)
  34.  
  35. ;; Make next line command skip wrapped lines
  36. (setq line-move-visual nil)
  37.  
  38. ;; Load package system
  39. (when (>= emacs-major-version 24)
  40.   (package-initialize)
  41.   (require 'package)
  42.   (add-to-list
  43.    'package-archives
  44.    '("melpa-stable" . "http://stable.melpa.org/packages/") t)
  45. ;  (add-to-list
  46. ;   'package-archives
  47. ;   '("melpa" . "http://melpa.milkbox.net/packages/") t)
  48.   )
  49.  
  50. ;; GUI specific config
  51. (when window-system
  52.   ;; Confirm before exit
  53.   (setq confirm-kill-emacs 'yes-or-no-p)
  54.   ;; For small screens (uncomment as needed)
  55. ;  (set-frame-height (selected-frame) 36)
  56.   )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement