aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
=========