=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/tutorial,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/mg/tutorial 2014/10/19 20:53:51 1.15 +++ src/usr.bin/mg/tutorial 2015/12/21 08:08:43 1.16 @@ -118,7 +118,6 @@ In general, when in doubt, use C-g to get out of trouble. - Inserting/Deleting Text ----------------------- @@ -253,6 +252,20 @@ often. When you save a file, mg saves a backup of the file with a tilde (~) character at the end. +If you decide to open a directory instead of a file, mg will transistion into a +mode called dired. Dired fills a buffer with the contents of the selected +directory, one file or sub-directory's details per line. Some basic file +management functions can be performed on the files and sub-directories in the +buffer. For example, with the cursor over a specific file: + + Pressing c will give you the opportunity to copy the file. + Pressing d will mark the file for deletion. + Pressing x will unlink files previously marked for deletion. + Pressing Return will open the highlighted file into it's own buffer for + editing. + +There are more dired commands, see the man page for further information. + Working with Buffers and Windows -------------------------------- @@ -333,7 +346,7 @@ ----------- Original Author of this document: Mayukh Bose, -Date last updated: 2014-10-19 +Date last updated: 2015-12-21 Copyright ---------