vim-sexp icon indicating copy to clipboard operation
vim-sexp copied to clipboard

Do not move cursor with emit or capture

Open snoe opened this issue 9 years ago • 1 comments

PR for half of #10.

This change maintains cursor position if a bracket happens to move the current character.

It also maintains cursor position from undos after capture or emit except for something I was unable to solve: capture-head on a top level form and undoing will move the cursor to the head of the list.

Cheers

snoe avatar Apr 16 '15 07:04 snoe

Is there any chance of this being merged? This is a huge improvement to the default behavior.

elmehalawi avatar Jul 16 '22 05:07 elmehalawi