Skip to content

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.

1 participant