aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/remembering.18
-rw-r--r--doc/remembering.524
2 files changed, 20 insertions, 12 deletions
diff --git a/doc/remembering.1 b/doc/remembering.1
index d26da06..8edcf26 100644
--- a/doc/remembering.1
+++ b/doc/remembering.1
@@ -42,16 +42,20 @@ Show version number.
List current directory and feed it to \fBfzf\fR(1) via \fBremembering\fR:
+.RS
.nf
- $ ls | remembering -p fzf-ls -c fzf
+$ ls | remembering -p fzf-ls -c fzf
.fi
+.RE
Lists all executables available in \fI$PATH\fR, and feed those to \fBdmenu\fR(1) via \fBremembering\fR, and execute with \fBsh\fR(1) the choice picked:
+.RS
.nf
- $ dmenu_path | remembering -p dmenu-exe -c 'dmenu' | sh
+$ dmenu_path | remembering -p dmenu-exe -c 'dmenu' | sh
.fi
+.RE
.P
Successive invocations will put the frequent choices at the beginning.
diff --git a/doc/remembering.5 b/doc/remembering.5
index b130008..1e481fe 100644
--- a/doc/remembering.5
+++ b/doc/remembering.5
@@ -24,25 +24,29 @@ the \fBentry\fR itself.
The \fBrank\fR is a number, and the \fBentry\fR is all the text until the end of the line after the \fC:\fR separator:
+.RS
.nf
- 0:an entry
- 0:banana
- 0:entry
- 0:something
- 0:zzz
+0:an entry
+0:banana
+0:entry
+0:something
+0:zzz
.fi
+.RE
Above is an example of a \fIPROFILE\fR file where all the entries have the default \fBrank\fR value: \fB0\fR.
If the \fICOMMAND\fR runs and chooses \fCbanana\fR, the new \fIPROFILE\fR will be:
+.RS
.nf
- 0:an entry
- 1:banana
- 0:entry
- 0:something
- 0:zzz
+0:an entry
+1:banana
+0:entry
+0:something
+0:zzz
.fi
+.RE
Now the next time the \fICOMMAND\fR runs it will get \fCbanana\fR at the beginning of the list, and as new picks happen their weight will increase, and will keep going up in priority.