new emacs config!

This commit is contained in:
Michael Chalupiak
2026-01-17 02:09:04 -05:00
parent e6a0d0892f
commit 2d1a11ea40
14 changed files with 934 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
;;; emacs.el --- Description -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2026 Michael Chalupiak
;;
;; Author: Michael Chalupiak <mikec@archbox>
;; Maintainer: Michael Chalupiak <mikec@archbox>
;; Created: January 15, 2026
;; Modified: January 15, 2026
;; Version: 0.0.1
;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex text tools unix vc wp
;; Homepage: https://github.com/mikec/emacs
;; Package-Requires: ((emacs "30.1"))
;;
;; This file is not part of GNU Emacs.
;;
;;; Commentary:
;;
;; Description
;;
;;; Code:
(setq history-length 100
global-auto-revert-non-file-buffers t
use-dialog-box nil
custom-safe-themes t
read-file-name-completion-ignore-case t
tab-always-indent nil)
(setq-default
indent-tabs-mode nil
tab-width 4
tab-stop-list (number-sequence 4 400 4))
(customize-set-variable 'treesit-font-lock-level 4)
(column-number-mode t)
(global-display-line-numbers-mode t)
;(global-display-fill-column-indicator-mode t)
(recentf-mode 1)
(savehist-mode 1)
(save-place-mode 1)
(global-auto-revert-mode 1)
(context-menu-mode 1)
(electric-pair-mode 1)
(electric-indent-mode 1)
;; (enable-recursive-minibuffers t)
;; (read-extended-command-predicate #'command-completion-default-include-p)
;; Disable line numbers for some modes
;; (dolist (mode '(org-mode-hook
;; eshell-mode-hook))
;; (add-hook mode (lambda ()
;; (display-line-numbers-mode 0)
;; (display-fill-column-indicator-mode 0)
;; ())))
(provide 'emacs)
;;; emacs.el ends here