Mapping <Ctrl-Ctrl> to ESC in VIM

tmux, vim

Solution

You cannot map Ctrl by itself in Vim at all, let alone CtrlCtrl. It is strictly a modifier key.

Problem

On OS X, I've changed Caps-Lock to CTRL in the Keyboard Modifier settings. It's great, but I'd like to use CTRLCTRL (a quick double-tap) to ESC in VIM (my pinky is resisting CTRL[). Possible? Already using `au CursorHoldI * stopinsert` and `set ut=2000` to exit `Insert Mode` after two seconds, but some plugins interfere (completion, most often). Aside: Could this, if possible, create a conflict with Tmux?

Original source