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
|
||||
let keymapInvokeString = self.key
|
||||
endif
|
||||
let keymapInvokeString = escape(keymapInvokeString, '\')
|
||||
|
||||
let premap = self.key == "<LeftRelease>" ? " <LeftRelease>" : " "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user