I have some mappings in my .vimrc with ALT. They are:
nnoremap <A-J> :m .+1<CR>==
nnoremap <A-K> :m .-2<CR>==
Expected behavior: These two mappings are supposed to move a line up and down. But they are not working. I am not even getting any error or warning. But when I use shift, they are working fine. Below are given the working mappings.
nnoremap <A-J> :m .+1<CR>==
nnoremap <A-K> :m .-2<CR>==
Why isn't ALT working?