emacs: purge

This commit is contained in:
Jeremy Baxter 2024-07-19 09:53:11 +12:00
parent 66d309e407
commit f98a06ad41

View file

@ -41,12 +41,7 @@
dired-listing-switches "-alh --group-directories-first"
wdired-allow-to-change-permissions t)
;; some packages
(package-install 'nerd-icons)
(package-install 'pdf-tools)
;; modes
(require 'cc-mode)
(package-install 'git-modes)
(package-install 'json-mode)
(package-install 'lua-mode)
@ -72,7 +67,6 @@
tab-width w))
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'text-mode-hook 'hl-line-mode)
(add-hook 'prog-mode-hook 'indent-tab-hook)
(add-hook 'sgml-mode-hook 'indent-spc-hook)
@ -90,8 +84,6 @@
(add-hook 'org-mode-hook 'auto-fill-mode)
;; file extensions
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.eml\\'" . mail-mode))
(add-to-list 'auto-mode-alist '("\\.scd\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode))
(add-to-list 'auto-mode-alist '("\\.3lua\\'" . nroff-mode))
@ -235,7 +227,6 @@
;; nyan-mode
(package-install 'nyan-mode)
(setq nyan-animate-nyancat t)
(nyan-mode)
;; breadcrumbs
@ -297,12 +288,6 @@
;; misc
;; guess the major mode from file name
(setq-default major-mode (lambda ()
(unless buffer-file-name
(let ((buffer-file-name (buffer-name)))
(set-auto-mode)))))
;; save files and your position in them
(save-place-mode)
(recentf-mode)