Advertisement
saffron_

emacs dotfile

Mar 30th, 2023 (edited)
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.91 KB | None | 0 0
  1. ;;(define-key org-mode-map "\C-a" 'org-beginning-of-line)
  2. ;;(define-key org-mode-map "\C-e" 'org-end-of-line)
  3. (global-visual-line-mode t)
  4.  
  5. (setq inhibit-splash-screen t)
  6. (load-theme 'wheatgrass t) ;; sudo emacs /usr/share/emacs/27.1/etc/themes/wheatgrass-theme.el changed so no black background in order to preserve transparent terminal background ;; also somehow we ended up changing the default theme's minibuffer-prompt face with M-x list-faces-display somehow. idek at this point
  7. (setq initial-scratch-message "and seemingly, every type of love <3\n\n")
  8.  
  9. (setq make-backup-files nil)
  10. (setq create-lockfiles nil)
  11. (setq auto-save-default nil)
  12.  
  13. (setq-default message-log-max nil)
  14. (kill-buffer "*Messages*")
  15.  
  16. (setq scroll-step            1
  17.       scroll-conservatively  10000)
  18.  
  19. (setq select-enable-clipboard t)
  20.  
  21. (defun my-command-error-function (data context caller)
  22.   "Ignore the beginning-of-buffer,
  23. end-of-buffer signals; pass the rest to the default handler."
  24.   (when (not (memq (car data) '(beginning-of-buffer
  25.                                 end-of-buffer)))
  26.     (command-error-default-function data context caller)))
  27.  
  28. (setq command-error-function #'my-command-error-function)
  29.  
  30. (xterm-mouse-mode 1)
  31.  
  32. (menu-bar-mode -1)
  33.  
  34. (defun doNothing()(interactive)) ;; remove beep on M-z for BetterAltSpace
  35. (global-set-key (kbd "M-z") #'doNothing)
  36.  
  37. (xclip-mode 1)
  38.  
  39. ;; heya cutie <3
  40.  
  41. (custom-set-variables
  42.  ;; custom-set-variables was added by Custom.
  43.  ;; If you edit it by hand, you could mess it up, so be careful.
  44.  ;; Your init file should contain only one such instance.
  45.  ;; If there is more than one, they won't work right.
  46.  '(package-selected-packages '(xclip)))
  47. (custom-set-faces
  48.  ;; custom-set-faces was added by Custom.
  49.  ;; If you edit it by hand, you could mess it up, so be careful.
  50.  ;; Your init file should contain only one such instance.
  51.  ;; If there is more than one, they won't work right.
  52.  )
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement