Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Deleting a line that a mark is set on #1

Closed
ehynds opened this Issue · 5 comments

2 participants

Eric Hynds Kartik Shenoy
Eric Hynds

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".

Eric Hynds

One solution might be to include an option to lock marks, a la this thread? http://stackoverflow.com/questions/9008930/make-vim-keep-mark-when-i-delete-the-line-the-mark-is-on

Kartik Shenoy
Owner

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.

Kartik Shenoy kshenoy referenced this issue from a commit
Kartik Shenoy Bugfixes
Bugfix for issue #2 #2
Temporary placeholder for issue #1 #1.
  Added function SignatureRefreshDisplay to correct the display for Signs
e94f102
Kartik Shenoy
Owner

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

Eric Hynds

thank you!

Kartik Shenoy
Owner

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.

Kartik Shenoy kshenoy was assigned
Kartik Shenoy kshenoy closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.