[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python3-ly reformat in vim
From: |
Werner LEMBERG |
Subject: |
Re: python3-ly reformat in vim |
Date: |
Fri, 10 May 2019 07:30:27 +0200 (CEST) |
> [...] 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...
Werner