X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.1;h=7310722e81fc09df26a28c2357cb779a0d1f774a;hb=d13b8a7ea8998ff1f9f93d80993bb945e76be583;hp=dd6d135e9b1235cf1d6b5b6b2c022b0486c363f8;hpb=a081eaedb4c97d2123a620b909df1706fa55b582;p=selector.git diff --git a/selector.1 b/selector.1 index dd6d135..7310722 100644 --- a/selector.1 +++ b/selector.1 @@ -1,4 +1,4 @@ -.TH "SELECTOR" "1.1.1" "April 2010" "Francois Fleuret" "User Commands" +.TH "SELECTOR" "1.1.2" "April 2010" "Francois Fleuret" "User Commands" \" This man page was written by Francois Fleuret \" and is distributed under a Creative Commons Attribution-Share Alike @@ -91,7 +91,9 @@ make a flash instead of a beep when there is an edition error state that all following arguments are filenames .TP \fB--bash\fR -standard setting for bash history search, same as as -b -i -d -v -w +standard setting for bash history search, same as + +-b -i -d -v -w -l ${HISTSIZE} .TP \fB-t \fI\fR, \fB--title \fI<title>\fR add a title in the modeline @@ -125,7 +127,7 @@ specify the maximum number of lines to take into account To use selector to search into your bash history -.B selector -q --bash -l ${HISTSIZE} <(history) +.B selector -q --bash <(history) To show a list of directories and insert a cd command to the selected one (using @ as a separator) @@ -150,7 +152,7 @@ bind \(aq\(dq\\C-[r\(dq:\(dq\\C-a\\C-kselector -q -b -i -d -v -w -l ${HISTSIZE} in your .IR ~/.bashrc . -This bindings uses the control character ^A to put the cursor to the +This binding uses the control character ^A to put the cursor to the mostleft location and ^K to erase the current content of the readline buffer, and it simulates the enter key with ^M.