micro/internal/info
Dmitry Maluka 9593c2a720
Add HistorySearchUp and HistorySearchDown actions (#1829)
Add HistorySearchUp and HistorySearchDown actions which are similar to
HistoryUp and HistoryDown but search for the prev/next history item
whose beginning matches the currently entered text in the infobuffer
(more precisely, the text before cursor).

Also fixed the following issue: if we scrolled to an older history item
and then edit the infobuffer, this older item gets modified.
We should not edit old history entries. So in this case set HistoryNum
to the last (newly added) item and modify the last item.
2023-07-08 14:00:22 -07:00
..
gutter.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
history.go Add HistorySearchUp and HistorySearchDown actions (#1829) 2023-07-08 14:00:22 -07:00
infobuffer.go Add HistorySearchUp and HistorySearchDown actions (#1829) 2023-07-08 14:00:22 -07:00