-
Notifications
You must be signed in to change notification settings - Fork 24
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
New setting: prevent ever entering the minimap #146
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This seems to work for me (translated to vimscript for a .vimrc): augroup minimap_group
" get rid of existing
autocmd!
autocmd WinEnter * call CheckSkipMinimap()
augroup END
function! CheckSkipMinimap()
let l:mmwinnr = bufwinnr('-MINIMAP-')
if l:mmwinnr == -1
" no minimap window
return
endif
if winnr() == l:mmwinnr
" Go to the other window.
wincmd w
endif
endfunction |
Preventing entering the minimap does unfortunately also seem to prevent using the mouse in the minimap for scrolling though. |
Details in #142:
Originally posted by @dsully in #142 (comment)
The text was updated successfully, but these errors were encountered: