I have a shortcut in .vimrc:

map <silent> ,w :wall <CR>

I don't want to see this command (:wall) when I am browsing history in vim. Is this possible?

link|improve this question
feedback

migrated from stackoverflow.com Aug 9 '11 at 14:16

This question came from our site for professional and enthusiast programmers.

1 Answer

As you're running the command from a mapping, you shouldn't be seeing the command in your history at all, but for removing items from history, see :help histdel().

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.