Skip to content

Remember cursor position when switching buffer for term_start()#15876

Closed
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:gh-15854
Closed

Remember cursor position when switching buffer for term_start()#15876
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:gh-15854

Conversation

@chrisbra
Copy link
Copy Markdown
Member

fixes: #15854

fixes: vim#15854

Signed-off-by: Christian Brabandt <cb@256bit.org>
@chrisbra chrisbra closed this in 991657e Oct 15, 2024
techntools pushed a commit to techntools/vim that referenced this pull request Nov 3, 2024
Problem:  cursor position changed when using hidden terminal
          and BufFilePost autocommand (Mizuno Jan Yuta)
Solution: Save and restore cursor position

fixes: vim#15854
closes: vim#15876

Signed-off-by: Christian Brabandt <cb@256bit.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EditorConfig + term_start() makes cursor jump to the beginning of the buffer

1 participant