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

vimrc window split nnoremap doesn't work from eclim project tree view #58

Closed
CrashenX opened this issue Jun 26, 2011 · 2 comments
Closed

Comments

@CrashenX
Copy link

I use <c-l> to switch to the window split right of the active window split. I'm having an issue with eclim where <c-l> doesn't appear to do anything when the project tree view is the active window using this simple vimrc (note that <c-w>l does work):

set nocompatible
nnoremap <c-l> <c-w>l

However, mapping to another key such as 'n' does change the active split to one window to the right using <c-n>:

set nocompatible
nnoremap <c-n> <c-w>l

I found the following line in eclim/autoload/eclim/tree.vim:

nnoremap <buffer> <silent> <c-l> <c-l>:silent doautocmd eclim_tree User <buffer><cr>

Commenting out the line allows me to use . However, I'm not entirely sure what the previous line is for and what impact commenting it out has. Is there a safer away to work around this while retaining my existing key bindings?

@ervandew
Copy link
Owner

The latest commit (d2ec36d) should resolve this issue.

@CrashenX
Copy link
Author

Thanks for the amazingly quick patch. Fix confirmed.

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