I'm kinda new to vim, and I wanted to play with macros.
I wrote a bunch to fit with my previous muscle memory, including thosethis one:
imap <C-j> $a<CR><ESC>==a
imap <C-k>i> 0i<CR><ESC>k==a<ESC>m`$a<CR><ESC>==k``i
The intended behavior was to create a line below/above the cursor and edit it, but keep editing the line. First it never really worked, and second, I could isolate this line of being responsible of something strange:
As soon as I add it, the Tab button is having exactly the same behavior as the CTRL+kCTRL+i button in edition mode. I may miss something obvious, would anyone have any idea?
THanks