I'm really new to vim and I was searching for moving my single word or a line to move 'up' 'down' 'left' 'right' in insert mode I was able to achieve the up a line or block in visual mode and down a line or block in visual mode but now, I want the left and right motion like the vim plugin matze/vim-move but I don't want to use any plugins and instead use builtin function (If any that do the same) for moving up a line or down. I'm using
inoremap <silent> <A-J> <ESC>:m .+1<CR>==i inoremap <silent> <A-K> <ESC>:m .-2<CR>==i
If there is anyway to do the same for left or right....??