Hi,
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
2...
3...
...
21...
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?
Thanks,
Hangtian
--
View this message in context: http://vim.1045645.n5.nabble.com/Re-index-before-calling-his-i-tp5729018.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
--
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 http://www.vim.org/maillist.php
---
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, February 15, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment