From 6a5ca2cd0ca800f69169be45ff2e12b3657a31a8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 30 May 2019 00:02:25 -0700 Subject: Updated some doc and removed the "-B" flag for full key binding info --- bb.1 | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'bb.1') diff --git a/bb.1 b/bb.1 index 1ce64f2..d1719b7 100644 --- a/bb.1 +++ b/bb.1 @@ -8,7 +8,8 @@ bb \- A bitty browser for command line file management [\fI-d\fR] [\fI-s\fR] [\fI-0\fR] -[\fI-c commands... \fR] +[\fI-b\rR] +[\fI+command... \fR] [\fIdirectory\fR] .SH DESCRIPTION \fBbb\fR is a tiny TUI console application for browsing and managing files. @@ -19,12 +20,18 @@ Print the current directory on exit. .B \-s Print the selected files on exit. -.B \-s +.B \-0 If printing the selected files on exit, use NULL-terminated strings instead of newline-separated. -.B \-c commands... -From within \fBbb\fR, running \fBbb -c ...\fR will execute an internal bb +.B \-d +Print the current directory on exit. + +.B \-b +Print the bb key bindings and exit. + +.B \+command +From within \fBbb\fR, running \fBbb +command\fR will execute an internal bb command for modifying bb's state. .B directory @@ -47,8 +54,8 @@ cleared by pressing \fBEscape\fR. .TP .B Mouse: -Clicking on a file will select it. Double clicking will open it. Clicking on -the far left character of a file's row will toggle selection of that file. +Clicking on a file will move the cursor to it. Double clicking will open it. +Clicking on the '*' column of a file will toggle that file's selection. .SH EXAMPLES .TP @@ -56,16 +63,16 @@ the far left character of a file's row will toggle selection of that file. bb /usr/local/ Begin browsing in /usr/local/ -.TP -.B -bb -s -0 | xargs -0 zip archive.zip -Select some files to add to a zip archive. - .TP .B alias bb="cd '`/usr/local/bin/bb -d || pwd`'" Create an alias to launch \fBbb\fR and change directory to wherever it's located when you exit (unless you exit with Ctrl-c). +.TP +.B +bb -s -0 | xargs -0 zip archive.zip +Select some files to add to a zip archive. + .SH AUTHOR Bruce Hill (bruce@bruce-hill.com) -- cgit v1.2.3