aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-08-25 09:04:05 +0200
committerjohannst <johannes.stoelp@gmail.com>2019-08-25 09:04:05 +0200
commitd89a59de76686ba409a755c422ddf99f9abc729d (patch)
tree8166fe806c736df70e962ce5cd400aa5f5c32484
parent54d8a53a8924786df363adbf94ccda4be76d111e (diff)
downloadnotes-d89a59de76686ba409a755c422ddf99f9abc729d.tar.gz
notes-d89a59de76686ba409a755c422ddf99f9abc729d.zip
updated emacs notes
-rw-r--r--emacs.txt5
1 files changed, 4 insertions, 1 deletions
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 <RET> delete lines matching regex
- M-x query-replace <RET> 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
=========