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

mingw: Modify GoDoc split window key binding for GitBash compatibility #3608

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rwxguo
Copy link
Contributor

@rwxguo rwxguo commented Dec 14, 2023

The following keybinding resolved leading escape as a prefix (e.g. arrow keys),
But on GitBash, as there is no leading escape issue when press arrow keys, when press Esc on the :GoDoc scratch window, the window will not be closed.

nnoremap <buffer> <silent> <Esc>[ <Esc[

Thus, I made a GitBash platform checking to skip the key binding.

@rwxguo rwxguo changed the title Modify GoDoc split window key binding for GitBash compatibility mingw: Modify GoDoc split window key binding for GitBash compatibility Dec 15, 2023
@rwxguo rwxguo closed this Dec 15, 2023
@rwxguo rwxguo reopened this Dec 15, 2023
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.

None yet

1 participant