aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-16 15:29:28 -0300
committerEuAndreh <eu@euandre.org>2021-06-16 15:29:28 -0300
commite47730bb7ad08b8baf26ecff3ba9d38a6768303d (patch)
treeb70b7cec06558d0f111b274769f24e7dc48251a4 /doc
parentaux/: Update (diff)
downloadremembering-e47730bb7ad08b8baf26ecff3ba9d38a6768303d.tar.gz
remembering-e47730bb7ad08b8baf26ecff3ba9d38a6768303d.tar.xz
doc/remembering.*: Use .RS/.RE over tabs in .nf/.fi sections for indentation
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.