2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-01 21:40:24 +00:00

[emacs] move macros info to new file

This commit is contained in:
Dmitry Non 2019-10-15 10:21:12 +01:00
parent 246adf89fc
commit 0dd42bed00
2 changed files with 13 additions and 14 deletions

13
sheets/_emacs/macros Normal file
View File

@ -0,0 +1,13 @@
# Macro-commands
C-x ( start macro definition
C-x ) end of macro definition
C-x e execute last defined macro
M-n C-x e execute last defined macro n times
M-x name-last-kbd-macro
give name to macro (for saving)
M-x insert-keyboard-macro
save named macro into file
M-x load-file
load macro
M-x macroname
execute macroname

View File

@ -159,20 +159,6 @@
M-S center paragraph
M-x center-region
# Macro-commands
C-x ( start macro definition
C-x ) end of macro definition
C-x e execute last defined macro
M-n C-x e execute last defined macro n times
M-x name-last-kbd-macro
give name to macro (for saving)
M-x insert-keyboard-macro
save named macro into file
M-x load-file
load macro
M-x macroname
execute macroname
# Programming
M C-\ indent region between cursor and mark
M-m move to first (non-space) char in this line