aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs.txt
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-03-14 17:05:14 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-03-14 17:05:14 +0100
commit4fdac145ec419d081df43de97aeca20728c0bcaf (patch)
treeda66f8c10e4c6fd5c166d8c56d9fcc235dd0f836 /emacs.txt
parentec28dd55498a1caea9ccdc3732ec60793181161c (diff)
downloadnotes-4fdac145ec419d081df43de97aeca20728c0bcaf.tar.gz
notes-4fdac145ec419d081df43de97aeca20728c0bcaf.zip
migrated emacs.txt
Diffstat (limited to 'emacs.txt')
-rw-r--r--emacs.txt74
1 files changed, 0 insertions, 74 deletions
diff --git a/emacs.txt b/emacs.txt
deleted file mode 100644
index 6257b48..0000000
--- a/emacs.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-# emacs
---------------------------------------------------------------------------------
-
-# toc
-------
- |help|
- |window|
- |rect|
- |mass|
- |grep|
- |lisp|
- |narrow|
-
-
-# help
-=======
- C-h f describe function
- C-h b list buffer available keymaps
- <kseq> C-h list possible keymaps with <kseq>
- eg C-x C-h -> list keymaps beginning with C-x
-
-# window
-=========
- C-x 0 kill focused window
- C-x 1 kill all other windows
- C-x 2 split horizontal
- C-x 3 split vertical
-
-# block/rect
-=============
- C-x <SPC> activate rectangle-mark-mode
- M-x string-rectangle <RET> insert text in marked rect
-
-# mass edit
-============
- C-x h mark whole buffer (mark-whole-buffer)
- M-x delete-matching-line <RET> delete lines matching regex
- M-x % search & replace region (query-replace)
- C-M-x % search & replace regex (query-replace-regexp)
-
-# grep
-=======
- M-x find-grep <RET> run find-grep result in *grep* buffer
- n/p navigate next/previous match in *grep* buffer
-
-# lisp mode
-============
- 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
-=========
- C-x n n show only focused region (narrow)
- C-x n w show whole buffer (wide)
-
-# org
-======
- M-up/M-down re-arrange items in same hierarchy
- M-left/M-right change item hierarchy
- C-RET create new item below current
- C-S-RET create new TODO item below current
- S-left/S-right cycle TODO states
-
-## org source
-==============
- <s TAB generate a source block
- C-c ' edit source block (in lang specific buffer)
- C-c C-c eval source block
-
---------------------------------------------------------------------------------
-vim:ft=help:sts=2:et:tw=80:cc=80:fo+=t
-