Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remapping alt-\ to open the file in vertical split throws error #947

Closed
rbhanot4739 opened this issue Feb 14, 2019 · 2 comments
Closed

Remapping alt-\ to open the file in vertical split throws error #947

rbhanot4739 opened this issue Feb 14, 2019 · 2 comments

Comments

@rbhanot4739
Copy link

Environment

  • Operating System: Ubuntu 16.04.5 LTS
  • Vim version :NVIM v0.3.2-208-g2841e89:
  • NERDTree version 5.0.0:
  • NERDTree settings applied in your vimrc, if any:

Process

  1. Define these custom key bindings
let g:NERDTreeMapOpenVSplit = '<a-\>'

Current Result

So inside the NERDTree window when I press a-\ I get the following error.

E114: Missing quote: "\")                                                                                                                                        
E116: Invalid arguments for function nerdtree#ui_glue#invokeKeyMap 

Expected Result

I have mapped same key-stroke in normal for creating vsplits and it works fine. So what am i missing here ?

Screenshot(s)

Possible Fix

@PhilRunninger
Copy link
Member

Fixed in #948.

@rbhanot4739
Copy link
Author

Thank you very much, works like charm !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants