cocopon / vaffle.vim

:file_folder: Lightweight, window-based file manager for Vim
MIT License
284 stars 20 forks source link

Use vim current directory instead of filer.dir when moving files #65

Open Matts966 opened 3 years ago

Matts966 commented 3 years ago

Thank you for this great plugin!

I love the move action of Vaffle, but am sometimes confused by the destination path.

Current Vaffle use filer's directory as base directory of the destination path, however, vim autocompletes paths based on vim's current directory.

Could we use getcwd() instead of filer.dir below?

https://github.com/cocopon/vaffle.vim/blob/0a314644c38402b659482568525b1303f7d0e01d/autoload/vaffle/file.vim#L132