Escape a backslash so it can be used in a key mapping. (#948)
This commit is contained in:
parent
8cc154d4b0
commit
74be22deb7
@ -51,6 +51,7 @@ function! s:KeyMap.bind()
|
|||||||
else
|
else
|
||||||
let keymapInvokeString = self.key
|
let keymapInvokeString = self.key
|
||||||
endif
|
endif
|
||||||
|
let keymapInvokeString = escape(keymapInvokeString, '\')
|
||||||
|
|
||||||
let premap = self.key == "<LeftRelease>" ? " <LeftRelease>" : " "
|
let premap = self.key == "<LeftRelease>" ? " <LeftRelease>" : " "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user