emacs: purge
This commit is contained in:
parent
66d309e407
commit
f98a06ad41
1 changed files with 0 additions and 15 deletions
|
@ -41,12 +41,7 @@
|
||||||
dired-listing-switches "-alh --group-directories-first"
|
dired-listing-switches "-alh --group-directories-first"
|
||||||
wdired-allow-to-change-permissions t)
|
wdired-allow-to-change-permissions t)
|
||||||
|
|
||||||
;; some packages
|
|
||||||
(package-install 'nerd-icons)
|
|
||||||
(package-install 'pdf-tools)
|
|
||||||
|
|
||||||
;; modes
|
;; modes
|
||||||
(require 'cc-mode)
|
|
||||||
(package-install 'git-modes)
|
(package-install 'git-modes)
|
||||||
(package-install 'json-mode)
|
(package-install 'json-mode)
|
||||||
(package-install 'lua-mode)
|
(package-install 'lua-mode)
|
||||||
|
@ -72,7 +67,6 @@
|
||||||
tab-width w))
|
tab-width w))
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
(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 'prog-mode-hook 'indent-tab-hook)
|
||||||
(add-hook 'sgml-mode-hook 'indent-spc-hook)
|
(add-hook 'sgml-mode-hook 'indent-spc-hook)
|
||||||
|
@ -90,8 +84,6 @@
|
||||||
(add-hook 'org-mode-hook 'auto-fill-mode)
|
(add-hook 'org-mode-hook 'auto-fill-mode)
|
||||||
|
|
||||||
;; file extensions
|
;; 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 '("\\.scd\\'" . markdown-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode))
|
(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.3lua\\'" . nroff-mode))
|
(add-to-list 'auto-mode-alist '("\\.3lua\\'" . nroff-mode))
|
||||||
|
@ -235,7 +227,6 @@
|
||||||
|
|
||||||
;; nyan-mode
|
;; nyan-mode
|
||||||
(package-install 'nyan-mode)
|
(package-install 'nyan-mode)
|
||||||
(setq nyan-animate-nyancat t)
|
|
||||||
(nyan-mode)
|
(nyan-mode)
|
||||||
|
|
||||||
;; breadcrumbs
|
;; breadcrumbs
|
||||||
|
@ -297,12 +288,6 @@
|
||||||
|
|
||||||
;; misc
|
;; 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 files and your position in them
|
||||||
(save-place-mode)
|
(save-place-mode)
|
||||||
(recentf-mode)
|
(recentf-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue