neovim icon indicating copy to clipboard operation
neovim copied to clipboard

Expose acme-esque file system

Open myitcv opened this issue 10 years ago • 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?

myitcv avatar Sep 24 '14 10:09 myitcv

Belongs as a plugin idea

myitcv avatar Sep 24 '14 11:09 myitcv

You beat me to it :) I've had this in the back of my head for a long time.

justinmk avatar Sep 25 '14 20:09 justinmk

@justinmk - yes, should be relatively easy to implement as well.

myitcv avatar Sep 27 '14 10:09 myitcv

@justinmk - you might also be interested in https://github.com/myitcv/neovim/issues/6 if you use X windows (where I will first be building support)

myitcv avatar Oct 08 '14 15:10 myitcv

@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 avatar Oct 09 '14 07:10 justinmk

@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 :)

myitcv avatar Oct 11 '14 13:10 myitcv

@fmoralesc - FYI

myitcv avatar Oct 11 '14 20:10 myitcv

I was planning on exposing something like this in plan9-for-vimspace using FUSE. I'm certainly interested in exploring this.

fmoralesc avatar Oct 11 '14 20:10 fmoralesc

@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 avatar Oct 11 '14 20:10 myitcv

@myitcv We could use plan9-for-vimspace as a testbed for this (move it to a separate org, add you as an admin, etc).

fmoralesc avatar Oct 11 '14 20:10 fmoralesc

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?

myitcv avatar Oct 14 '14 00:10 myitcv

Sure, give me a sec.

fmoralesc avatar Oct 14 '14 00:10 fmoralesc