-/* $OpenBSD: dired.c,v 1.99 2021/04/20 10:02:50 lum Exp $ */
+/* $OpenBSD: dired.c,v 1.100 2021/05/02 14:13:17 lum Exp $ */
/* This file is in the public domain. */
funmap_add(d_refreshbuffer, "dired-revert", 0);
funmap_add(d_backpage, "dired-scroll-down", 0);
funmap_add(d_forwpage, "dired-scroll-up", 0);
+ funmap_add(d_shell_command, "dired-shell-command", 1);
funmap_add(d_undel, "dired-unmark", 0);
funmap_add(d_undelbak, "dired-unmark-backward", 0);
funmap_add(d_killbuffer_cmd, "quit-window", 0);
-.\" $OpenBSD: mg.1,v 1.124 2021/04/22 19:50:55 lum Exp $
+.\" $OpenBSD: mg.1,v 1.125 2021/05/02 14:13:17 lum Exp $
.\" This file is in the public domain.
.\"
-.Dd $Mdocdate: April 22 2021 $
+.Dd $Mdocdate: May 2 2021 $
.Dt MG 1
.Os
.Sh NAME
Scroll down the dired buffer.
.It dired-scroll-up
Scroll up the dired buffer.
+.It dired-shell-command
+Pipe the file under the current cursor position through a shell command.
.It dired-unmark
Remove the deletion flag for the file on the current line.
.It dired-unmark-backward