Saturday, February 19, 2022

Proper use of histdel()

Hi everybody,

I'd like to delete the last 100 entries in command line history. I've tried
call histdel(":", -100) and various alternatives using histdel() but I don't get it to work.
So far the only way I've discovered is directly editing _viminfo,
but that's a bit cumbersome.

Any suggestions from experts welcome!

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/787eebbc-f590-4937-b595-4bd62ba8618cn%40googlegroups.com.

No comments: