]> git.armaanb.net Git - dmenu.git/blobdiff - dmenu.1
add key bindings for moving to the word start or end
[dmenu.git] / dmenu.1
diff --git a/dmenu.1 b/dmenu.1
index d3ab805dfdbf1d7b71df1fd99ecf2d2a23f20da5..fbb3f761b0c5a63bc705b4999174d8a8f543621d 100644 (file)
--- a/dmenu.1
+++ b/dmenu.1
@@ -3,13 +3,11 @@
 dmenu \- dynamic menu
 .SH SYNOPSIS
 .B dmenu
 dmenu \- dynamic menu
 .SH SYNOPSIS
 .B dmenu
-.RB [ \-b ]
-.RB [ \-f ]
-.RB [ \-i ]
+.RB [ \-bfiv ]
 .RB [ \-l
 .RB [ \-l
+.IR lines ]
 .RB [ \-m
 .IR monitor ]
 .RB [ \-m
 .IR monitor ]
-.IR lines ]
 .RB [ \-p
 .IR prompt ]
 .RB [ \-fn
 .RB [ \-p
 .IR prompt ]
 .RB [ \-fn
@@ -22,7 +20,8 @@ dmenu \- dynamic menu
 .IR color ]
 .RB [ \-sf
 .IR color ]
 .IR color ]
 .RB [ \-sf
 .IR color ]
-.RB [ \-v ]
+.RB [ \-w
+.IR windowid ]
 .P
 .BR dmenu_run " ..."
 .SH DESCRIPTION
 .P
 .BR dmenu_run " ..."
 .SH DESCRIPTION
@@ -78,6 +77,9 @@ defines the selected foreground color.
 .TP
 .B \-v
 prints version information to stdout, then exits.
 .TP
 .B \-v
 prints version information to stdout, then exits.
+.TP
+.BI \-w " windowid"
+embed into windowid.
 .SH USAGE
 dmenu is completely controlled by the keyboard.  Items are selected using the
 arrow keys, page up, page down, home, and end.
 .SH USAGE
 dmenu is completely controlled by the keyboard.  Items are selected using the
 arrow keys, page up, page down, home, and end.
@@ -98,6 +100,12 @@ Confirm input.  Prints the input text to stdout and exits, returning success.
 .B Escape
 Exit without selecting an item, returning failure.
 .TP
 .B Escape
 Exit without selecting an item, returning failure.
 .TP
+.B Ctrl-Left
+Move cursor to the start of the current word
+.TP
+.B Ctrl-Right
+Move cursor to the end of the current word
+.TP
 C\-a
 Home
 .TP
 C\-a
 Home
 .TP
@@ -158,6 +166,12 @@ Paste from primary X selection
 C\-Y
 Paste from X clipboard
 .TP
 C\-Y
 Paste from X clipboard
 .TP
+M\-b
+Move cursor to the start of the current word
+.TP
+M\-f
+Move cursor to the end of the current word
+.TP
 M\-g
 Home
 .TP
 M\-g
 Home
 .TP