Re-index before calling “his i”

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re-index before calling “his i”


Is there any method to re-index history? I wanna do this to make history
index always start 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

Calling histdel() will also make the index uncontinuous.

Is there anyway to re-index the history before calling "his i" ?
BTW, how to index from newest to oldest history?



View this message in context:
Sent from the Vim - General mailing list archive at

You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit