vim: delete display lines instead of physical lines -
When the wavy lines between the regular movements such as J & K, jumped from a physical line to the next suggested mapping such as "NormMap Ji GJ "will move the link to the display lines rather than the physical line.
Although there is at least one problem with this approach, for example, the DJ will remove two physical lines in place of two display lines.
Is there any way to fix this?
DD and yy:
: nnoremap dd g0dg $: nnoremap Yy g0yg $
Comments
Post a Comment