Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mattn
Copy link
Member

@mattn mattn commented Sep 15, 2017

how to reproduce

  1. :terminal
  2. CTRL-W N
  3. :startinsert

@mattn
Copy link
Member Author

mattn commented Sep 15, 2017

One more fix. avoid I/A on visual mode.

  1. :terminal
  2. CTRL-N
  3. VI

@brammool
Copy link
Contributor

brammool commented Sep 15, 2017 via email

@mattn
Copy link
Member Author

mattn commented Sep 16, 2017

Shouldn't that be term_job_running(curbuf->b_term) ?

It accept entering into insert-mode after job finished.

@mattn
Copy link
Member Author

mattn commented Sep 16, 2017

Or should we add new function that check curbuf->b_term != NULL ?

@brammool brammool closed this in eef9add Sep 16, 2017
@brammool
Copy link
Contributor

brammool commented Sep 16, 2017 via email

adizero pushed a commit to adizero/vim that referenced this pull request May 19, 2018
Problem:    Can go to Insert mode from Terminal-Normal mode.
Solution:   Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
            Matsumoto, closes vim#2092)
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.

2 participants