____________________________________

		            MY EMACS CONFIG
		  ____________________________________


Previously I presented  an almost complete version of  my emacs config
on this page but it just changes  too often. So came up with a minimal
config which includes some essential  settings that I would never want
to miss. Should work with emacs28 or later.

;; basics
(setq inhibit-splash-screen t)
(when window-system (tool-bar-mode -1))
(when window-system (scroll-bar-mode -1))
(menu-bar-mode -1)
(show-paren-mode t)
(delete-selection-mode t)
(setq use-short-answers t)

;; backup/autosave
(setq make-backup-files nil)
(setq auto-save-file-name-transforms
      `((".*" ,temporary-file-directory t)))

;; buffers
(savehist-mode 1)
(define-key global-map [remap list-buffers] 'buffer-menu-other-window)
(setq read-buffer-completion-ignore-case t
      read-file-name-completion-ignore-case t
      completion-ignore-case t)
(define-key minibuffer-local-map (kbd "<up>")
	    'previous-complete-history-element)
(define-key minibuffer-local-map (kbd "<down>")
	    'next-complete-history-element)

;; misc
(repeat-mode t)
(setq visible-bell t)
(setq dired-listing-switches "-lh --group-directories-first")
(define-key global-map (kbd "M--") 'dabbrev-expand) ; better with german keyboard
(fset 'copy-line
   (kmacro-lambda-form [?\C-e ?\C-  ?\C-a ?\M-w] 0 "%d"))
(global-set-key (kbd "C-c c") 'copy-line)
(global-set-key (kbd "<f12>") 'eshell)