Closed hungpham3112 closed 2 years ago
I am not able to reproduce this. Tagbar doesn't disable tagbar at all. When I have those mappings defined, I can tag into and out of the tagbar window just fine using them. I've attempted this before and after loading plugins.
Can you include the output of the :map
command from both the file window and then also execute it in the tagbar window so we can compare the two?
:map
from file window
*@:call AutoPairsJump() *@:call AutoPairsToggle() n ca NERDCommenterAltDelims x cu NERDCommenterUncomment n cu NERDCommenterUncomment x cb NERDCommenterAlignBoth n cb NERDCommenterAlignBoth x cl NERDCommenterAlignLeft n cl NERDCommenterAlignLeft n cA NERDCommenterAppend x cy NERDCommenterYank n cy NERDCommenterYank x cs NERDCommenterSexy n cs NERDCommenterSexy x ci NERDCommenterInvert n ci NERDCommenterInvert n c$ NERDCommenterToEOL x cn NERDCommenterNested n cn NERDCommenterNested x cm NERDCommenterMinimal n cm NERDCommenterMinimal x c NERDCommenterToggle n c NERDCommenterToggle x cc NERDCommenterComment n cc NERDCommenterComment / * incsearch#go( 1_config_easyfuzzymotion()) n h * h n l * l n k * k n j * j n d * :vnew +pu=execute('') n 5 * 5gt n 4 * 4gt n 3 * 3gt n 2 * 2gt n 1 * 1gt n sv * :source $MYVIMRC n ev * :edit $MYVIMRC n a * ggVG n w * :w n x * :x x S VSurround n Y * "*y$ n cS CSurround n cs Csurround n ds Dsurround v gx NetrwBrowseXVis n gx NetrwBrowseX x gS VgSurround o j (easymotion-j) v j (easymotion-j) o k (easymotion-k) v k (easymotion-k) v s (easymotion-s) n s (easymotion-overwin-f) v u * n y & : call setreg(v:register, fugitive#Object(@%)) n ySS YSsurround n ySs YSsurround n yss Yssurround n yS YSurround n ys Ysurround v y * "*y n y * "*y n yy * "*yy v NetrwBrowseXVis * : call netrw#BrowseXVis() n NetrwBrowseX * :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX())) v VgSurround * : call 53_opfunc(visualmode(),visualmode() ==# 'V' ? 0 : 1) v VSurround * : call 53_opfunc(visualmode(),visualmode() ==# 'V' ? 1 : 0) n YSurround * 53_opfunc2('setup') n Ysurround * 53_opfunc('setup') n YSsurround * 53_opfunc2('setup').'_' n Yssurround * '^'.v:count1. 53_opfunc('setup').'g_' n CSurround * : call 53_changesurround(1) n Csurround * : call 53_changesurround() n Dsurround * : call 53_dosurround( 53_inputtarget()) n SurroundRepeat * . o (coc-classobj-a) * : call CocAction('selectSymbolRange', v:false, '', ['Interface', 'Struct', 'Class']) o (coc-classobj-i) * : call CocAction('selectSymbolRange', v:true, '', ['Interface', 'Struct', 'Class']) v (coc-classobj-a) * : call CocAction('selectSymbolRange', v:false, visualmode(), ['Interface', 'Struct', 'Class']) v (coc-classobj-i) * : call CocAction('selectSymbolRange', v:true, visualmode(), ['Interface', 'Struct', 'Class']) o (coc-funcobj-a) * : call CocAction('selectSymbolRange', v:false, '', ['Method', 'Function']) o (coc-funcobj-i) * : call CocAction('selectSymbolRange', v:true, '', ['Method', 'Function']) v (coc-funcobj-a) * : call CocAction('selectSymbolRange', v:false, visualmode(), ['Method', 'Function']) v (coc-funcobj-i) * : call CocAction('selectSymbolRange', v:true, visualmode(), ['Method', 'Function']) n (coc-cursors-position) * : call CocAction('cursorsSelect', bufnr('%'), 'position', 'n') n (coc-cursors-word) * : call CocAction('cursorsSelect', bufnr('%'), 'word', 'n') v (coc-cursors-range) * : call CocAction('cursorsSelect', bufnr('%'), 'range', visualmode()) n (coc-cursors-operator) * : set operatorfunc= 46_CursorRangeFromSelected g@ n (coc-refactor) * : call CocActionAsync('refactor') n (coc-command-repeat) * : call CocAction('repeatCommand') n (coc-float-jump) * : call coc#float#jump() n (coc-float-hide) * : call coc#float#close_all() n (coc-fix-current) * : call CocActionAsync('doQuickfix') n (coc-openlink) * : call CocActionAsync('openLink') n (coc-references-used) * : call CocActionAsync('jumpUsed') n (coc-references) * : call CocActionAsync('jumpReferences') n (coc-type-definition) * : call CocActionAsync('jumpTypeDefinition') n (coc-implementation) * : call CocActionAsync('jumpImplementation') n (coc-declaration) * : call CocActionAsync('jumpDeclaration') n (coc-definition) * : call CocActionAsync('jumpDefinition') n (coc-diagnostic-prev-error) * : call CocActionAsync('diagnosticPrevious', 'error') n (coc-diagnostic-next-error) * : call CocActionAsync('diagnosticNext', 'error') n (coc-diagnostic-prev) * : call CocActionAsync('diagnosticPrevious') n (coc-diagnostic-next) * : call CocActionAsync('diagnosticNext') n (coc-diagnostic-info) * : call CocActionAsync('diagnosticInfo') n (coc-format) * : call CocActionAsync('format') n (coc-format-selected) * : set operatorfunc= 46_FormatFromSelected g@ n (coc-rename) * : call CocActionAsync('rename') n (coc-codeaction-cursor) * : call CocActionAsync('codeAction', 'cursor') n (coc-codeaction-line) * : call CocActionAsync('codeAction', 'line') n (coc-codeaction) * : call CocActionAsync('codeAction', '') n (coc-codeaction-selected) * : set operatorfunc= 46_CodeActionFromSelected g@ v (coc-codeaction-selected) * : call CocActionAsync('codeAction', visualmode()) v (coc-format-selected) * :
I mapped
My cursor is on tagbar buffer but cannot use
<leader>h
to jump to the leftI think
<leader>
is disabled in tagbar.