Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Vifm inside Neovim as a floating window #52

Open
maxigaz opened this issue Oct 12, 2020 · 1 comment
Open

Open Vifm inside Neovim as a floating window #52

maxigaz opened this issue Oct 12, 2020 · 1 comment

Comments

@maxigaz
Copy link
Contributor

maxigaz commented Oct 12, 2020

I’ve recently learned about vim-floaterm, which can display command-line applications in floating windows inside Neovim (Vim 8.1’s rough equivalent of this feature is called popups). There’s even a wrapper for Vifm so that it can be used as a file picker, although it only supports opening files in the current buffer. I’ve filed a request to add the ability to open files in a new tab or split (which is possible in vifm.vim through :TabVifm or :SplitVifm), but it has been rejected.

I’m wondering if it would be easier to add the option to use floating window in vifm.vim instead. (Now that the recent version of the fzf plugin for (Neo)Vim uses floating windows by default, this change would be very welcome as well.)

Edit: I’ve just realised that it might have been a better idea to post this in vifm.vim’s issue tracker. I apologise for that.

@xaizek xaizek transferred this issue from vifm/vifm Oct 13, 2020
@xaizek
Copy link
Member

xaizek commented Oct 13, 2020

I’m wondering if it would be easier to add the option to use floating window in vifm.vim instead.

Haven't looked much at the relevant API, so it's hard to tell at the moment.

In that issue you mentioned :TabVifm and alike, however, implementing :TabVim (run inside embedded Vifm) could be easier (see).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants