Helpful und Helm
This commit is contained in:
70
config.org
70
config.org
@@ -262,6 +262,7 @@ size. This function also handles icons and modeline font sizes."
|
|||||||
eyebrowse-mode-line-separator "|")
|
eyebrowse-mode-line-separator "|")
|
||||||
(eyebrowse-mode t))
|
(eyebrowse-mode t))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** bezeichnen
|
** bezeichnen
|
||||||
Die Fenster werden mit "Projektname | Dateiname" bezeichnet.
|
Die Fenster werden mit "Projektname | Dateiname" bezeichnet.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@@ -272,3 +273,72 @@ size. This function also handles icons and modeline font sizes."
|
|||||||
(format "%s| " project-name))))
|
(format "%s| " project-name))))
|
||||||
"%b")) ; project-name| file-name
|
"%b")) ; project-name| file-name
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
* Help
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package helpful
|
||||||
|
:bind (([remap describe-function] . helpful-callable)
|
||||||
|
([remap describe-variable] . helpful-variable)
|
||||||
|
([remap describe-key] . helpful-key)
|
||||||
|
:map emacs-lisp-mode-map
|
||||||
|
("C-c C-d" . helpful-at-point)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
* Modeline
|
||||||
|
Doom-Modeline.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package doom-modeline
|
||||||
|
:custom (doom-modeline-icon t)
|
||||||
|
(doom-modeline-minor-modes t)
|
||||||
|
(doom-modeline-unicode-fallback t)
|
||||||
|
(doom-modeline-mu4e nil)
|
||||||
|
(doom-modeline-buffer-encoding nil)
|
||||||
|
:init
|
||||||
|
:hook (after-init . doom-modeline-mode))
|
||||||
|
|
||||||
|
(use-package minions
|
||||||
|
:hook (doom-modeline-mode . minions-mode))
|
||||||
|
|
||||||
|
(use-package anzu
|
||||||
|
:after isearch
|
||||||
|
:config (global-anzu-mode))
|
||||||
|
#+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.
|
||||||
|
|
||||||
|
| Key | Aktion |
|
||||||
|
|-----------+--------------------------------------------------|
|
||||||
|
| M-x | Funktionsaufruf |
|
||||||
|
| C-c h | helm-mini mit Buffer, Recent-Files und Bookmarks |
|
||||||
|
|-----------+--------------------------------------------------|
|
||||||
|
| C-h a | Tastenkombinationen |
|
||||||
|
| C-x C-f | Datei |
|
||||||
|
| C-x b | Buffer |
|
||||||
|
| C-x f | Recent-Files |
|
||||||
|
| C-x c b | Bookmarks |
|
||||||
|
| C-x c SPC | Mark-Rings |
|
||||||
|
| M-y | Kill-Ring |
|
||||||
|
|-----------+--------------------------------------------------|
|
||||||
|
| C-x c o | Suche in Datei mit Occur |
|
||||||
|
| C-x c s | Suche in Datei mit Swoop |
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package helm
|
||||||
|
:demand
|
||||||
|
:bind ("M-x" . helm-M-x)
|
||||||
|
("C-h a" . helm-apropos)
|
||||||
|
("C-c h" . helm-mini)
|
||||||
|
("C-x C-f" . helm-find-files)
|
||||||
|
("C-x f" . helm-recentf)
|
||||||
|
("C-x b" . helm-buffers-list)
|
||||||
|
("C-x c b" . helm-filtered-bookmarks)
|
||||||
|
("C-x c o" . helm-occur)
|
||||||
|
("C-x c s" . helm-swoop)
|
||||||
|
("C-x c SPC" . helm-all-mark-rings)
|
||||||
|
("M-y" . helm-show-kill-ring)
|
||||||
|
:preface (require 'helm-config)
|
||||||
|
:config (helm-mode 1))
|
||||||
|
#+END_SRC
|
||||||
|
|||||||
Reference in New Issue
Block a user