I have this added to my vimrc
map <C-n> :cnext<CR>
map <C-m> :cprevious<CR>
nnoremap <leader>a :cclose<CR>
This is from vim-go-tutorial here.
While after running a simple :GoBuild with some errors, while trying to jump to the next error, it doesn't do as intended jump to the next definition. While doing :cnext
and then doing a <C-m>
works and executes :cprevious
While in the file, I tried running :map <c-m>
and it only shows being mapped to :cprevious
which is why this command was working in the first place, but then when I tried doing a :map <c-n>
, It showed me a couple of things being mapped
x <C-N> * :<C-U>call multiple_cursors#new("v", 0)<CR>
n <C-N> * :call multiple_cursors#new("n", 1)<CR>
os <C-N> :cnext<CR>
While I don't have the other two mappings being showed in my vimrc, how do I remove these two other invocations and just have :cnext