Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal positions cursor in the bottom left of the screen when exiting Vim #183

Closed
pwsiegel opened this issue Jan 4, 2023 · 3 comments
Closed

Comments

@pwsiegel
Copy link

pwsiegel commented Jan 4, 2023

This is a strange one. I am experiencing the issue described in this stackoverflow question, but only when vim-sensible is enabled.

Steps to replicate:

  1. Begin with an empty vimrc.
  2. Start a new terminal session, execute the clear command, open a text file, modify it, and save / quit with :x.
  3. Install vim-sensible. I did this with vim-plug, using only the following in my vimrc:
call plug#begin('~/.vim/plugged')
    Plug 'tpope/vim-sensible'
call plug#end()
  1. Redo step 2.

In step 2, when vim exits the cursor is on the next line in my terminal, as you'd expect. In step 4, the cursor is all the way at the bottom, with blank space separating the cursor and the previous command.

My machine is an Macbook Pro running the Apple M2 chip with Ventura 13.0. My terminal emulator is Iterm2. If the core issue involves some other piece of software, let me know and I'll go bother them!

@tpope
Copy link
Owner

tpope commented Jan 5, 2023

#182. Confirm you're on the latest sensible.vim and a reasonably modern Vim.

@tpope tpope closed this as completed Jan 5, 2023
@pwsiegel
Copy link
Author

pwsiegel commented Jan 5, 2023

My version of sensible.vim is commit 8e274c2, and my version is Vim is:
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 26 2022 13:51:26)
macOS version - arm64
Included patches: 1-1100
Compiled by Homebrew

Does this look correct?

@tpope
Copy link
Owner

tpope commented Jan 5, 2023

Reopened #182.

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

No branches or pull requests

2 participants