Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Aug 9 '11 at 14:16

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

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


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.