fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
15.98k stars 1.45k forks source link

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

Closed rwxguo closed 9 months ago

rwxguo commented 9 months ago

The following keybinding resolved leading escape as a prefix (e.g. arrow keys), But on GitBash, as there is no escape when press arraw keys, the first key-press will have no response.

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

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

rwxguo commented 9 months ago

This PR is created by accident, could anyone please remove it, thanks.