New answers tagged

4

vnoremap <silent>x :<C-U>call cursor(line("'}")-1,col("'>"))<CR>`<1v`` Explanation: vnoremap <silent>x --- remap something useless in visual mode (x is the same as d) :<C-U> --- drop visual line range (also switches to normal mode) call cursor(...)<CR> --- set cursor position line("'}")-1 --- the last line of the ...


Top 50 recent answers are included