Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
`find_prev_char`

Waits for another keypress, then moves and
selects backward, stopping at the first
instance of the pressed key. Can take
a count, which will cause it to stop
at the nth instance of the keypress,
rather than the first.

--- Examples ---

The cursor moves backward, stopping at 'h'
and selecting everything along the way.
┌───────────────────────┐  h  ┌───────────────────────┐
│ This is a sent[e]nce. │ --> │ T[his is a sente)nce. │
└───────────────────────┘     └───────────────────────┘

The cursor is not stopped by line breaks.
┌──────────────────────────────────┐     ┌───────────────────────────────────┐
│ There is a Q in this first line. │  Q  │ There is a [Q in this first line. │
│ This is the se[c]ond line.       │ --> │ This is the sec)ond line.         │
└──────────────────────────────────┘     └───────────────────────────────────┘