-
Is it possible to do so? This intersection of the two file pickers would be incredibly convenient to have. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
It’s possible but you’d have to write your own code for it via the API, you’d need to write a contents function that runs Since one is a shell command and the other is neovim command you’d need to use |
Beta Was this translation helpful? Give feedback.
-
Thanks! After some thought, I've written something a bit different — what I wanted is Gets the job done, but, care to share some thoughts on how I did it? |
Beta Was this translation helpful? Give feedback.
-
@dycw, looks good and clean, a few comments I would add:
Ovrrall, if you’re happy with the result and aren’t dealing with large repos this is perfect. |
Beta Was this translation helpful? Give feedback.
It’s possible but you’d have to write your own code for it via the API, you’d need to write a contents function that runs
git ls-files
inputs all entries and then goes over the old files and does the same.Since one is a shell command and the other is neovim command you’d need to use
vim.system
, performance might not be ideal as the external process currently used.