diff --git a/README.md b/README.md index 8d74bb51..d193385c 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ See the [`doc` subdirectory](doc) for documentation. There are some short introductions for beginners: - [DDT cheat sheet for Unix users](doc/DDT.md) +- [Basic editing with EMACS](doc/EMACS.md) - [TECO survival guide](doc/TECO.md) - [DDT debugging newbie guide](doc/debugging.md) - [Hello MIDAS](doc/hello-midas.md) diff --git a/doc/EMACS.md b/doc/EMACS.md new file mode 100644 index 00000000..64567e64 --- /dev/null +++ b/doc/EMACS.md @@ -0,0 +1,14 @@ +## Basic editing with EMACS + +- ^X^F *file* CR - load file +- ^X^S *file* CR - save file +- ^X^C - exit (but don't kill emacs) +- ^F - move cursor right (forward) +- ^B - move cursor left (backward) +- ^A - beginning of line +- ^E - end of line +- ^N - go to next line +- ^P - go to previous line +- ^D - delete character to the right +- DEL - delete character to the left +- ^K - delete to end of line