macvim-dev / macvim-dev/macvim
Terminal mode keymap does not work if terminal is producing lots of output
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce
- Use the following vimrc:
set nocompatible
tnoremap <C-w>t <C-w>:tabnew<CR>
:terminal seq 1 10000000- Type
<C-w>t
Expected behavior: A new tab is opened
Actual behavior: Doesn't work most of the time
It only happens if there's :terminal window producing lots of output.
Only MacVim GUI mode has this issue.
- MacVim version: snapshot-151
- macOS version: 10.13.6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in MacVim GUI mode with the provided vimrc, then run :terminal seq 1 10000000 and test the mapped t input while output is active. Compare the expected new tab with the actual behavior and verify that the fix works under heavy terminal output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100