Merge pull request #260 from haconeco/master

modified mapping to :call goto_window_on_enter()
This commit is contained in:
Dave Halter
2014-03-08 13:34:00 +04:30

View File

@@ -94,7 +94,7 @@ function! jedi#add_goto_window()
execute 'belowright copen '.g:jedi#quickfix_window_height
set nolazyredraw
if g:jedi#use_tabs_not_buffers == 1
map <buffer> <CR> :call jedi#goto_window_on_enter()<CR>
noremap <buffer> <CR> :call jedi#goto_window_on_enter()<CR>
endif
au WinLeave <buffer> q " automatically leave, if an option is chosen
redraw!