Deleting a line that a mark is set on #1

Closed
ehynds opened this Issue Aug 21, 2012 · 5 comments

Comments

Projects
None yet
2 participants
@ehynds

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

This comment has been minimized.

Show comment
Hide comment
@ehynds

ehynds Aug 21, 2012

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

ehynds commented Aug 21, 2012

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

@kshenoy

This comment has been minimized.

Show comment
Hide comment
@kshenoy

kshenoy Aug 23, 2012

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.

Owner

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 added a commit that referenced this issue Aug 28, 2012

Bugfixes
Bugfix for issue #2 #2
Temporary placeholder for issue #1 #1.
  Added function SignatureRefreshDisplay to correct the display for Signs
@kshenoy

This comment has been minimized.

Show comment
Hide comment
@kshenoy

kshenoy Aug 28, 2012

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

Owner

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

This comment has been minimized.

Show comment
Hide comment
@ehynds

ehynds Aug 30, 2012

thank you!

ehynds commented Aug 30, 2012

thank you!

@kshenoy

This comment has been minimized.

Show comment
Hide comment
@kshenoy

kshenoy Aug 30, 2012

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.

Owner

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.

@ghost ghost assigned kshenoy 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