Advertisement
swaggboi

emacs-dotfile-05072020

May 7th, 2020
2,185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.26 KB | None | 0 0
  1. (custom-set-variables
  2.  ;; custom-set-variables was added by Custom.
  3.  ;; If you edit it by hand, you could mess it up, so be careful.
  4.  ;; Your init file should contain only one such instance.
  5.  ;; If there is more than one, they won't work right.
  6.  '(custom-enabled-themes (quote (tango-dark))))
  7. (custom-set-faces
  8.  ;; custom-set-faces was added by Custom.
  9.  ;; If you edit it by hand, you could mess it up, so be careful.
  10.  ;; Your init file should contain only one such instance.
  11.  ;; If there is more than one, they won't work right.
  12.  )
  13.  
  14. ;; Don't blink cursor
  15. (blink-cursor-mode (- (*) (*) (*)))
  16. (setq visible-cursor nil)
  17.  
  18. ;; Use spaces for indent
  19. (setq-default indent-tabs-mode nil)
  20.  
  21. ;; Put backup files in one place
  22. (setq backup-directory-alist '(("." . "~/.emacs.d")))
  23.  
  24. ;; Put auto-save files in one place
  25. (setq auto-save-file-name-transforms '((".*" "~/.emacs.d/" t)))
  26.  
  27. ;; Show column number next to line number
  28. (setq column-number-mode t)
  29.  
  30. ;; Make next line command skip wrapped lines
  31. (setq line-move-visual nil)
  32.  
  33. ;; If running in a GUI...
  34. (if window-system
  35.     (progn
  36.       ;; Confirm before exit
  37.       (setq confirm-kill-emacs 'yes-or-no-p)
  38.       ;; For small screens (uncomment as needed)
  39. ;      (set-frame-height (selected-frame) 36)
  40.       ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement