Expose acme-esque file system
Opened this issue · 12 comments
- Maintain a virtual file system of open buffers. Expose via FUSE
- Expose to other plugins - user will need to ensure that the Neovim process is in a separate process namespace to avoid clashes between multiple instances of Neovim
- Like
/mnt/acme
- Offsets exposed via address are line and character offsets?
Belongs as a plugin idea
You beat me to it :) I've had this in the back of my head for a long time.
@myitcv It hadn't escaped my stalking :) I'm primarily interested in the first-class command-oriented interface; I think the "command" nature of VimL is one of Vim's strengths vs a "real programming language". Acme is the ideal implementation of command-oriented interface; absorbing that into Vim could be an important step.
@justinmk 100% agree. Indeed the very exposing of a MSGPACK API by Neovim opens up the potential for writing plugins, like this, that expose other APIs/interfaces. Will certainly be interesting to see where it goes :)
@fmoralesc - FYI
I was planning on exposing something like this in plan9-for-vimspace using FUSE. I'm certainly interested in exploring this.
@fmoralesc - just tidying up the code in this project then I'll be moving on to creating a couple of plugins. This will be high on the list.
@myitcv We could use plan9-for-vimspace as a testbed for this (move it to a separate org, add you as an admin, etc).
We could use plan9-for-vimspace as a testbed for this (move it to a separate org, add you as an admin, etc).
Sounds great. Happy to put things there. Shall I leave the setup to you as you have the initial code?
Sure, give me a sec.