From 58979a9d9aad10090b26d04d39b914bbc51707c7 Mon Sep 17 00:00:00 2001 From: Ariane Troche Date: Tue, 22 Dec 2020 09:46:17 +0100 Subject: [PATCH] =?UTF-8?q?Kommentierungen=20erg=C3=A4nzt.=20Pers=C3=B6nli?= =?UTF-8?q?cher=20Prefix=20auf=20artr=20gesetzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/config.org b/config.org index 5a21f7a..ab38133 100644 --- a/config.org +++ b/config.org @@ -42,7 +42,7 @@ ** Backup und Autosave Die Backup- und Autosave-Dateien stören eher, da ich sie noch nie gebraucht habe, sollen sie erst gar nicht angelegt werden. - + [[https://github.com/emacscollective/no-littering][Help keeping ~/.emacs.d clean]] #+BEGIN_SRC emacs-lisp (use-package no-littering :config (with-eval-after-load 'recentf @@ -67,21 +67,21 @@ #+BEGIN_SRC emacs-lisp ;; Pfade - (setq my/file-init (expand-file-name "init.el" user-emacs-directory)) - (setq my/file-config (expand-file-name "config.org" user-emacs-directory)) + (setq artr/file-init (expand-file-name "init.el" user-emacs-directory)) + (setq artr/file-config (expand-file-name "config.org" user-emacs-directory)) ;; Öffnen - (defun my/find-config-file () + (defun artr/find-config-file () "Edit my init file in another window." (interactive) - (find-file my/file-config)) + (find-file artr/file-config)) ;; Laden - (defun my/reload-emacs-configuration () + (defun artr/reload-emacs-configuration () "Reload init.el" (interactive) - (load-file my/file-init)) + (load-file artr/file-init)) ;; Keys - (global-set-key (kbd "") 'my/find-config-file) - (global-set-key (kbd "") 'my/reload-emacs-configuration) + (global-set-key (kbd "") 'artr/find-config-file) + (global-set-key (kbd "") 'artr/reload-emacs-configuration) #+END_SRC ** Neustart @@ -97,6 +97,12 @@ #+END_SRC * Font + | Key | Funktion | + |-----+---------------------------------------| + | C-- | Schriftgröße schrittweise verkleinern | + | C-* | Schriftgröße schrittweise vergrößern | + | C-0 | Schriftgröße auf Default zurücksetzen | + ** Font #+BEGIN_SRC emacs-lisp ;; for unicode @@ -150,7 +156,7 @@ size. This function also handles icons and modeline font sizes." ** Schrift verkleinern #+BEGIN_SRC emacs-lisp (defun artr/decrease-font-size () - "Increase font size by 0.5 (5 in height)." + "Decrease font size by 0.5 (5 in height)." (interactive) (artr/adjust-font-size -5)) #+END_SRC @@ -172,6 +178,7 @@ size. This function also handles icons and modeline font sizes." * Icons ** Icons + [[https://github.com/domtronn/all-the-icons.el][domtronn /all-the-icons.el]] #+BEGIN_SRC emacs-lisp (use-package all-the-icons) #+END_SRC @@ -196,14 +203,14 @@ size. This function also handles icons and modeline font sizes." (defun artr/split-window-below-and-switch () "Split the window below, then switch to the new window." (interactive) - (split-window-below) - (other-window 1)) + (split-window-below) + (other-window 1)) (defun artr/split-window-right-and-switch () "Split the window right, then switch to the new window." (interactive) - (split-window-right) - (other-window 1)) + (split-window-right) + (other-window 1)) (global-set-key (kbd "C-1") 'delete-other-windows) (global-set-key (kbd "C-2") 'artr/split-window-below-and-switch) @@ -274,6 +281,7 @@ size. This function also handles icons and modeline font sizes." "%b")) ; project-name| file-name #+END_SRC * Help + [[https://github.com/Wilfred/helpful][Helpful]] - Eine Context-Hilfe mit mehr Informationen #+BEGIN_SRC emacs-lisp (use-package helpful :bind (([remap describe-function] . helpful-callable) @@ -284,7 +292,9 @@ size. This function also handles icons and modeline font sizes." #+END_SRC * Modeline - Doom-Modeline. + [[https://github.com/seagle0128/doom-modeline][doom-modeline]] - A fancy and fast mode-line inspired by minimalism design. + [[https://github.com/tarsius/minions][A minor-mode menu for the mode line]] - minions + [[https://github.com/emacsorphanage/anzu][anzu.el]] - displays match information in the mode-line in various search modes #+BEGIN_SRC emacs-lisp (use-package doom-modeline :custom (doom-modeline-icon t) @@ -304,7 +314,6 @@ size. This function also handles icons and modeline font sizes." #+END_SRC * Helm [[https://tuhdo.github.io/helm-intro.html][A Package in a league of its own: Helm]] - Helm ist eine Schnittstelle, mit der man in einer Auswahl von Kandidaten suchen und filtern kann. Diese Schnittstelle kann in verschiedensten Anwendungen eingesetzt werden, wie z.B. Dateien, Buffer, Funktionen, Variablen und noch vieles mehr. Es gibt viele Erweiterungen für Helm.