|
From: | Andrew Bernard |
Subject: | Re: python3-ly reformat in vim |
Date: | Fri, 10 May 2019 15:46:24 +1000 |
> [...] Note that, as with all code tidying programs, you can only
> return the cursor to approximately the same position, as lines may
> be added of deleted.
Are you sure about that? In Emacs, I can set a marker property that
`sticks' to a given character. As long as this character is not
deleted, it is possible to return to exactly that character,
regardless of its new position in the buffer after text manipulation.
I guess vim has a similar functionality...
[Prev in Thread] | Current Thread | [Next in Thread] |