Skip to content

make a few mappings/commands a bit more flexible #158

@PlasmaHH

Description

@PlasmaHH

Hi,

I made the following changes to my copy of minibuf and maybe it could be made so that one can configure that behaviour?

In StartExplorer
`
nnoremap o :call MBESelectBuffer(0):MBEFocus:

nnoremap e :call MBESelectBuffer(0):

nnoremap :call MBESelectBuffer(0):MBEToggle:
`
because sometimes I just want to open buf leave the focus to cycle through files and look into them. Then again I want to open and edit right away, but leave the minibuf open, and then I want to open the file and close minibuf at the same time. Having three slightly different mappings is quite convenient.

I also open minibuf map <silent> <F10> :MBEToggle<CR>:MBEFocus<CR>:<BS> because when I want to have the list, I right away want to select and use one. Maybe Toggle can have a config option that makes this automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions