diff --git a/bookmarks b/bookmarks index 3b6d3e2..6a5b2e6 100644 --- a/bookmarks +++ b/bookmarks @@ -3,9 +3,9 @@ ;;; nevertheless, you probably don't want to edit it. ;;; -*- End Of Bookmark File Format Version Stamp -*- (("org-capture-last-stored" - (filename . "~/org/docs/testest2.org") + (filename . "~/org/docs/test.org") (front-context-string . ":PROPERTIES:\n:ID") (rear-context-string) (position . 1) - (last-modified 27094 24899 601951 629000)) + (last-modified 27094 28081 955795 991000)) ) diff --git a/cheatsheet.org b/cheatsheet.org new file mode 100644 index 0000000..15425c4 --- /dev/null +++ b/cheatsheet.org @@ -0,0 +1,75 @@ +#+title: Emacs Cheatsheet + +* Tastenkombinationen + +** Framenavigation (oder globale Shortcuts) + +| Funktion | Shortcut | +|---------------+----------| +| Emacs beenden | C-x C-c | + + +** Fenster Shortcuts (Window) + +| Funktion | Shortcut | +|--------------------------------------+----------| +| alle Fenster außer aktives schließen | C-x 1 | +| horizontal splitten | C-x 2 | +| vertikal splitte | C-x 3 | +| Fenster wechseln | C-x o | + + +** Buffer Shortcuts + +| Funktion | Shortcut | +|--------------------------------------------------+--------------------| +| Speichern | C-x C-s | +| Speichern unter | C-x C-w | +| Alle Buffer speichern (mit Bestätigung) | C-x s | +| Datei öffnen über Dateiexplorer in Emacs (dired) | C-x C-f Enter | +| Bestimmte Datei öffnen | C-x C-f | +| Neue Datei erstellen (Filename existiert nicht) | C-x C-f | +| Buffer wechseln | C-x b | +| Bufferliste | C-x C-b | + + +** Navigation in Dateien + +| Funktion | Shortcut | +|----------------------------+----------| +| Zeichen vorwärts (forward) | C-f | +| Zeichen zurück (back) | C-b | +| Zeile nach oben (previous) | C-p | +| Zeile nach unten (next) | C-n | +| Zum Zeilenangang | C-a | +| Zum Zeilenende | C-e | +| Wort weiter | M-f | +| Wort zurück | M-b | +| Satz weiter | M-e | +| Satz zurück | M-a | +| Absatz vorwärt | M-} | +| Absatz zurück | M-{ | +| Seite vorwärts | C-v | +| Seite zurück | M-v | +| Zum Anfang des Dokuments | M-< | +| Zum Ende des Dokuments | M-> | + + +** Text bearbeiten + +| Funktion | Shortcut | +|------------------------------+-----------------| +| Zeichen löschen rechts | C-d | +| Zeichen löschen links | DEL / Backspace | +| Wort vorwärts löschen | M-d | +| Wort rückwärts löschen | M-DEL | +| bis Zeilenende löschen | C-k | +| Text markieren | C-SPC | +| ausschneiden | C-w | +| kopieren | M-w | +| einfügen | C-y | +| einfügen (älteren Inhalt) | M-y | +| undo | C-/ oder C-x u | +| redo | C-g C-/ | +| Zeile nach oben verschieben | M-↑ | +| Zeile nach unten verschieben | M-↓ | diff --git a/lisp/init-keybindings.el b/lisp/init-keybindings.el index ec831b9..b770394 100644 --- a/lisp/init-keybindings.el +++ b/lisp/init-keybindings.el @@ -13,6 +13,12 @@ (global-set-key (kbd "C-c r i") #'org-roam-node-insert) (global-set-key (kbd "C-c r b") #'org-roam-buffer-toggle) +;; my cheatsheet +(defun my/open-cheatsheet () + (interactive) + (find-file "~/.emacs.d/cheatsheet.org")) +(global-set-key (kbd "C-c c") #'my/open-cheatsheet) + (provide 'init-keybindings) ;;; init-keybindings.el ends here