I realised the dired commands are not in the mg man page. ok?

-lum

Index: mg.1
===================================================================
RCS file: /cvs/src/usr.bin/mg/mg.1,v
retrieving revision 1.76
diff -u -p -r1.76 mg.1
--- mg.1        22 May 2013 19:23:45 -0000      1.76
+++ mg.1        27 May 2013 19:10:45 -0000
@@ -919,6 +919,43 @@ Unlike emacs, the
 kill buffer consists only
 of the most recent kill.
 It is not a ring.
+.Sh MG DIRED COMMANDS
+Following are a list of the commands specific to dired mode:
+.It dired-backup-unflag
+This function removes the deletion flag from the file listed on
+the current line of the dired buffer, then moves up one line.
+.It dired-create-directory
+Creates a directory.
+.It dired-copy-file
+Copy the file listed on the current line of the dired buffer.
+.It dired-do-deletions
+Deletes the files that have been flagged for deletion.
+.It dired-find-file
+Opens the file in the current line of the dired buffer.
+If the cursor is on a directory it will be opened in dired mode. 
+.It dired-find-file-other-window
+Opens the file on the current line of the dired buffer in a
+different window.
+.It dired-flag-file-deleted
+Flag the file listed on the current line for deletion.
+This is indicated in the buffer by putting a D at the left margin.
+No files are actually deleted until the function dired-do-deletions
+is executed.
+.It dired-next-line
+Moves the cursor to the next line.
+.It dired-other-window
+This function works just like dired, except that it puts the
+dired buffer in the other window.
+.It dired-previous-line
+Move the cursor to the previous line.
+.It dired-rename-file
+Renames the file listed on the current line of the dired buffer.
+.It dired-scroll-down
+Scroll down the dired buffer.
+.It dired-scroll-up
+Scroll up the dired buffer.
+.It dired-unflag
+Remove the deletion flag for the file on the current line.
 .El
 .Sh CONFIGURATION FILES
 There are two configuration files,

Reply via email to