0

Is there a Vim command that opens a new line below the current line but at also the same column as the current cursor position in the line above it?

1

1 Answer 1

2

No, but you could try something like this:

:nnoremap <S-CR> :put =repeat(' ', virtcol('.') - 1)<Bar>retab!<Bar>startinsert!<CR>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .