Deleting a line that a mark is set on #1

ehynds opened this Issue Aug 21, 2012 · 5 comments


None yet

2 participants

ehynds commented Aug 21, 2012

In vim, if you delete a line where a lowercase mark is set on (a-z) the mark is automatically deleted. In this plugin (which is great by the way), the sign for that mark remains. If you try to jump to it vim tells you "mark not set".

ehynds commented Aug 21, 2012

One solution might be to include an option to lock marks, a la this thread?

kshenoy commented Aug 23, 2012

Hmm, the sign is getting preserved even when lines are deleted. I guess there'd be some people (me :P ) who'd prefer to remove the mark when the line is deleted. In any case, both require interfering with dd. Need to figure out how to do that if it is already mapped by some other plugin.

@kshenoy kshenoy added a commit that referenced this issue Aug 28, 2012
@kshenoy Bugfixes
Bugfix for issue #2 #2
Temporary placeholder for issue #1 #1.
  Added function SignatureRefreshDisplay to correct the display for Signs
kshenoy commented Aug 28, 2012

Hey, I added a function called SignatureRefreshDisplay. It should correct all the wonky sign issues. Hopefully, this should be helpful while I try to find a more elegant solution. Sorry about the delay, school's started :P

ehynds commented Aug 30, 2012

thank you!

kshenoy commented Aug 30, 2012

Added an option to auto-refresh display. This is again meant as a place-holder. The length of the interval after which the refresh will be triggered can be controlled by the updatetime option. (:h updatetime)
This can be disabled if not required by setting g:SignaturePeriodicRefresh = 0.

@kshenoy kshenoy was assigned Sep 22, 2012
@kshenoy kshenoy closed this Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment