level 2
Is there any method to re-index history? I wanna do this to make history index always starting from 1 to the MAX history value.
Calling "his i" or "his @" to show input history.
For example, if set history=20, after reaching the max history items, input new item will edge out the oldest history item, so the history index will be :
# input history
2...
3...
...
21...
Calling histdel() would also make the index uncontinuous.
Is there anyway to re-index the history before calling "his i" ?
2017年02月15日 06点02分
1
Calling "his i" or "his @" to show input history.
For example, if set history=20, after reaching the max history items, input new item will edge out the oldest history item, so the history index will be :
# input history
2...
3...
...
21...
Calling histdel() would also make the index uncontinuous.
Is there anyway to re-index the history before calling "his i" ?