bufexplorer icon indicating copy to clipboard operation
bufexplorer copied to clipboard

Feature request: Show active key mappings on help screen

Open clarity20 opened this issue 8 months ago • 2 comments

Thank you for BufExplorer -- it's worlds better than vanilla vim buffer management.

Here's my feature request. The help screen displays the default key mappings even after I set custom nnoremaps in keeping with the docs. Refer to bufexplorer.vim:919 in s:CreateHelp() :

        call add(header, '" a : toggle find active buffer')
        call add(header, '" b : Fast buffer switching with b<any bufnum>')
        call add(header, '" B : toggle showing buffers only on their MRU tabs')
        call add(header, '" d : delete buffer')
        call add(header, '" D : wipe buffer')

[etc.]

You might consider NERDTrees approach, where the user lays out custom g: values in the .vimrc such as let g:NerdTreeMapHelp = '<F1>' and both the nnoremap bindings and the help text are built around them.

clarity20 avatar May 08 '25 13:05 clarity20