close minimap window ,then use *# , error "no mmwinid"
WillDawnlll opened this issue · 2 comments
WillDawnlll commented
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 commented
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 commented
this belongs here https://github.com/wfxr/minimap.vim/issues