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

close minimap window ,then use *# , error "no mmwinid" #36

Open
WillDawnlll opened this issue Dec 9, 2021 · 2 comments
Open

close minimap window ,then use *# , error "no mmwinid" #36

WillDawnlll opened this issue Dec 9, 2021 · 2 comments

Comments

@WillDawnlll
Copy link

may be should unmap in close funciton ....
now i just comment this nnoremap code....

" line 210 , plugin/minimap.vim
" Mappings to make searching update with * or #
if g:minimap_highlight_search != 0
    nnoremap <silent> * *:call minimap#vim#UpdateColorSearch(1)<CR>
    nnoremap <silent> # #:call minimap#vim#UpdateColorSearch(1)<CR>
    " Example mapping for nohlsearch to also clear the minimap search highlighting
    " nnoremap <silent> `` :nohlsearch<CR>:call minimap#vim#ClearColorSearch()<CR>
endif
@WillDawnlll
Copy link
Author

test nunmap in close function ,still got error when open file and no auto open minimap.
so maybe need a exist test when update minimap ...

@EgZvor
Copy link

EgZvor commented Feb 9, 2023

this belongs here https://github.com/wfxr/minimap.vim/issues

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