From 6ae4d1ad4566cd263e6ef1ee714adee1f1034730 Mon Sep 17 00:00:00 2001 From: Dmitry Non Date: Tue, 15 Oct 2019 10:17:30 +0100 Subject: [PATCH 1/3] [emacs] move telnet to new file --- sheets/_emacs/_info.yaml | 1 + sheets/_emacs/telnet | 9 +++++++++ sheets/emacs | 10 ---------- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 sheets/_emacs/_info.yaml create mode 100644 sheets/_emacs/telnet diff --git a/sheets/_emacs/_info.yaml b/sheets/_emacs/_info.yaml new file mode 100644 index 0000000..a9c4e34 --- /dev/null +++ b/sheets/_emacs/_info.yaml @@ -0,0 +1 @@ +rosetta: "Emacs" diff --git a/sheets/_emacs/telnet b/sheets/_emacs/telnet new file mode 100644 index 0000000..4260fdb --- /dev/null +++ b/sheets/_emacs/telnet @@ -0,0 +1,9 @@ +# Telnet +M-x telnet starts up telnet-modus +C-d either delete char or send EOF +C-c C-c stop running job (similar to C-c under unix) +C-c C-d send EOF +C-c C-o clear output of last command +C-c C-z suspend execution of command +C-c C-u kill line backwards +M-p recall previous command \ No newline at end of file diff --git a/sheets/emacs b/sheets/emacs index 2e54a10..eff7ab3 100644 --- a/sheets/emacs +++ b/sheets/emacs @@ -192,16 +192,6 @@ # M-x speedbar starts up a separate window with a directory view -# Telnet - M-x telnet starts up telnet-modus - C-d either delete char or send EOF - C-c C-c stop running job (similar to C-c under unix) - C-c C-d send EOF - C-c C-o clear output of last command - C-c C-z suspend execution of command - C-c C-u kill line backwards - M-p recall previous command - # Text # Works only in text mode M-s center line From 246adf89fc2308bc2483da26043a2b59d9b6514f Mon Sep 17 00:00:00 2001 From: Dmitry Non Date: Tue, 15 Oct 2019 10:19:32 +0100 Subject: [PATCH 2/3] [emacs] move dired to new file --- sheets/_emacs/dired | 39 +++++++++++++++++++++++++++++++++++++++ sheets/emacs | 39 --------------------------------------- 2 files changed, 39 insertions(+), 39 deletions(-) create mode 100644 sheets/_emacs/dired diff --git a/sheets/_emacs/dired b/sheets/_emacs/dired new file mode 100644 index 0000000..23ec30b --- /dev/null +++ b/sheets/_emacs/dired @@ -0,0 +1,39 @@ +# DIRectory EDitor (dired) +C-x d start up dired +C (large C) copy +d mark for erase +D delete right away +e or f open file or directory +g reread directory structure from file +G change group permissions (chgrp) +k delete line from listing on screen (don\'t actually delete) +m mark with * +n move to next line +o open file in other window and go there +C-o open file in other window but don\'t change there +P print file +q quit dired +Q do query-replace in marked files +R rename file +u remove mark +v view file content +x delete files marked with D +z compress file +M-Del remove all marks (whatever kind) +~ mark backup files (name~ files) for deletion +# mark auto-save files (#name#) for deletion +*/ mark directory with * (C-u * removes that mark again) += compare this file with marked file +M-= compare this file with it\'s backup file +! apply shell command to this file +M-} change to the next file marked with * od D +M-{ change to the previous file marked with * od D +% d mark files described through regular expression for deletion +% m mark files described through regular expression for deletion (with *) ++ create directory +> changed to next dir +< change to previous dir +s toggle between sorting by name or date + +# +M-x speedbar starts up a separate window with a directory view \ No newline at end of file diff --git a/sheets/emacs b/sheets/emacs index eff7ab3..8e486e1 100644 --- a/sheets/emacs +++ b/sheets/emacs @@ -153,45 +153,6 @@ C-c C-z suspend job (C-z under unix) M-p show previous commands -# DIRectory EDitor (dired) - C-x d start up dired - C (large C) copy - d mark for erase - D delete right away - e or f open file or directory - g reread directory structure from file - G change group permissions (chgrp) - k delete line from listing on screen (don\'t actually delete) - m mark with * - n move to next line - o open file in other window and go there - C-o open file in other window but don\'t change there - P print file - q quit dired - Q do query-replace in marked files - R rename file - u remove mark - v view file content - x delete files marked with D - z compress file - M-Del remove all marks (whatever kind) - ~ mark backup files (name~ files) for deletion - # mark auto-save files (#name#) for deletion - */ mark directory with * (C-u * removes that mark again) - = compare this file with marked file - M-= compare this file with it\'s backup file - ! apply shell command to this file - M-} change to the next file marked with * od D - M-{ change to the previous file marked with * od D - % d mark files described through regular expression for deletion - % m mark files described through regular expression for deletion (with *) - + create directory - > changed to next dir - < change to previous dir - s toggle between sorting by name or date -# - M-x speedbar starts up a separate window with a directory view - # Text # Works only in text mode M-s center line From 0dd42bed0015990de69cf28c1cbee3f7ec8d158c Mon Sep 17 00:00:00 2001 From: Dmitry Non Date: Tue, 15 Oct 2019 10:21:12 +0100 Subject: [PATCH 3/3] [emacs] move macros info to new file --- sheets/_emacs/macros | 13 +++++++++++++ sheets/emacs | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 sheets/_emacs/macros diff --git a/sheets/_emacs/macros b/sheets/_emacs/macros new file mode 100644 index 0000000..22af943 --- /dev/null +++ b/sheets/_emacs/macros @@ -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 \ No newline at end of file diff --git a/sheets/emacs b/sheets/emacs index 8e486e1..cab2c02 100644 --- a/sheets/emacs +++ b/sheets/emacs @@ -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