kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
804 stars 17 forks source link

Have the option to keep Ranger open even with `let g:rnvimr_enable_picker = 1` #72

Closed galou closed 3 years ago

galou commented 3 years ago

Is your feature request related to a problem? Please describe. Most of the time, I want to close ranger when opening a file, so I set let g:rnvimr_enable_picker = 1 but sometimes, I'd like to keep it open.

Describe the solution you'd like The solution I tried and I'd like is:

let g:rnvimr_action = {
            \ '<C-o>': 'NvimEdit edit'
            \ }

but it doesn't work as I expect, the file does open but ranger get hidden.

kevinhwang91 commented 3 years ago
let g:rnvimr_action = {
            \ '<C-o>': 'NvimEdit edit False'
            \ }

Documents will be supplemented later

galou commented 3 years ago

Woah! That was quick! Thanks!