From d89a59de76686ba409a755c422ddf99f9abc729d Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 25 Aug 2019 09:04:05 +0200 Subject: updated emacs notes --- emacs.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.txt b/emacs.txt index 77ddbf3..3242977 100644 --- a/emacs.txt +++ b/emacs.txt @@ -35,7 +35,8 @@ ============ C-x h mark whole buffer (mark-whole-buffer) M-x delete-matching-line delete lines matching regex - M-x query-replace search & replace region + M-x % search & replace region (query-replace) + C-M-x % search & replace regex (query-replace-regexp) # grep ======= @@ -46,6 +47,8 @@ ============ M-x lisp-interaction-mode activate lisp mode C-M-x evaluate top expr under cursor + C-x C-e eval-last-sexp + C-u C-x C-e eval-last-sexp and prints result in current buffer # narrow ========= -- cgit v1.2.3