13913Re: Suggestion [was: Re: Easter exercise for the reader]
- May 1, 2000Ron Aaron wrote:
> I mean that if I do:Ah, now I understand. ":silent unmap <cr>" should not bother you with a
> unmap <cr>
> when <cr> wasn't mapped to something, I get the error message "No such
> mapping". If I e.g. want to make sure that certain keys are unmapped:
> au BufEnter * unmap <cr>
> I get that annoying message every time I go into a buffer unless that key was
> mapped. So instead, I do something like:
> au BufEnter * if mapcheck('<cr>')!='' | unmap <cr> | endif
> which is a lot more work than I should have to do, IMHO.
> Does this make sense?
message. I'll add a remark in the todo list.
hundred-and-one symptoms of being an internet addict:
181. You make up words that go with the "happy tune" your modem makes
while dialing your ISP.
/-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
\-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
- << Previous post in topic Next post in topic >>