mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 04:13:48 -05:00
Escape quotation marks so they can be used in key mappings. (#1213)
* Escape quotation marks so they can be used in key mappings. * Update version number in change log.
This commit is contained in:
@@ -51,7 +51,7 @@ function! s:KeyMap.bind()
|
||||
else
|
||||
let keymapInvokeString = self.key
|
||||
endif
|
||||
let keymapInvokeString = escape(keymapInvokeString, '\')
|
||||
let keymapInvokeString = escape(keymapInvokeString, '\"')
|
||||
|
||||
let premap = self.key ==# '<LeftRelease>' ? ' <LeftRelease>' : ' '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user