Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

1 Answer 1

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().

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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