kien/ctrlp.vim — Issue #62: backsapce key does not work on windows console.
Author: mattn
Created: 2011-12-28 04:13:27+00:00
State: open

On windows console, mapping `` breaks `` mapping. So while showing candidates, it can't do `backspace` with `` key. it's working as ``.

```
diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim
index 4644b01..9ea3044 100644
--- a/autoload/ctrlp.vim
+++ b/autoload/ctrlp.vim
@@ -581,6 +581,12 @@ fu! s:MapSpecs(...)
\ 'OpenMulti()': [''],
\ 'PrtExit()': ['', '', ''],
\ }]
+	" Fixup dubious mappings for windows console
+	if (has('win32') || has('win64')) && !has('gui_running')
+	" does not work when is defined.
+	"call remove(prtmaps['PrtCurLeft()'], 0)
+	en
+
if type(s:urprtmaps) == 4
cal extend(prtmaps, s:urprtmaps)
en
```

I'm thinking whether you treat this is bug, please include patch above.