Proper use of histdel()

19 views
Skip to first unread message

theo dodo

unread,
Feb 19, 2022, 9:20:09 AM2/19/22
to vim_use
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!
Reply all
Reply to author
Forward
0 new messages