I would like do disable following mapping when I open quickfix window.
map <F5> :ZoomWin<cr>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Did you mean quickfix? If so, there are three ways:
Use
<expr>mappings:Use BufEnter event to set/restore mapping:
Create mapping locally only for buffers where it is needed:
Update: to disable mapping when any of the opened windows contains quickfix buffer use the following: