vifm / vifm.vim

Vim plugin that allows use of vifm as a file picker
335 stars 19 forks source link

VIFM bulk-rename dual-pane mode issue #82

Closed homie-desktop closed 2 years ago

homie-desktop commented 2 years ago

Hi. I'm having problems with vifm bulk-rename capability. Whenever I select multiple files using shift+v, I then press cw to bulk-rename those selected files, vifm then uses neovim to edit the file names, and it always opens in dual-pane mode (as seen in the screenshot below) so I always have to manually press ctrl+w+o or enter the command :only to put it in single-pane mode. Is there a way to automatically open in single-pane mode only? I've tried adding the :only command in my .vifmrc and .vimrc files but it still open in dual-pane mode. Thanks!

2022-09-20-02-49-38-Downloads

xaizek commented 2 years ago

Hi. This is done by Vim plugin. https://github.com/vifm/vifm.vim/issues/39 is about the same, but solution there doesn't seem to work anymore for some reason. Adding this to Vim/NeoVim config should work:

augroup VifmRename
    au! FileType vifm-rename only
augroup end
homie-desktop commented 2 years ago

Hi. This is done by Vim plugin. #39 is about the same, but solution there doesn't seem to work anymore for some reason. Adding this to Vim/NeoVim config should work:

augroup VifmRename
    au! FileType vifm-rename only
augroup end

Thanks! It worked. As always, quick to respond and issue solved.