Confused: Binding <C-m> in normal mode gets called by location list entry populated ALE #4795
Unanswered
tmzhuang
asked this question in
Q&A - Ask for help with problems
Replies: 1 comment
-
Ah I think I found the issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the location list that ALE populates quite frequently to jump to linting warnings/errors. I use :lop to open the location list and select an entry, then press Enter to jump to that warning in my file. Recently I bound to a command from another plugin:
nnoremap <C-m> :Buffers<CR>
To my surprise, pressing Enter on an entry in the location list now calls Buffers. I tried to bind C-m to something else:
nnoremap <C-m> :h map<CR>
In this case, pressing Enter on a location list entry opens up the vim map help page.
Not too sure what I'm doing wrong here as I don't see any other bindings for C-m nor do I see any mention of it in the docs.
Beta Was this translation helpful? Give feedback.
All reactions