vim-go icon indicating copy to clipboard operation
vim-go copied to clipboard

mingw: Modify GoDoc split window key binding for GitBash compatibility

Open rwxguo opened this issue 2 years ago • 0 comments

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 avatar Dec 14 '23 08:12 rwxguo