You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open the path under cursor in a floating terminal #2853
Is this a question? No
Please start a new Q&A discussion instead of raising a feature request.
Can this functionality be implemented utilising API?
nvim-tree exposes extensive API (see :h nvim-tree-api). Can it be used to achieve your goal? Is there a missing API that would make it possible? probably, maybe, I don't know
Given stable status of nvim-tree it's preferred to add new API than new functionality.
Is your feature request related to a problem? Please describe.
It happens very usual I need to do file operations (tar, untar, etc) on a file, it will be useful if I can open a floating terminal after bnavigatong on my file in the tree inside vim, its actullay adding a new layer on top of nvim from the nvimtree gateway
Describe the solution you'd like
A clear and concise description of what you want to happen. Title says it all, open the path under cursor in a floating terminal, something like system open, but open in a floating terminal instead
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. Terminal in a new tab, split, v split etc
Additional context
Add any other context or screenshots about the feature request here.
Activity
alex-courtis commentedon Jul 27, 2024
Right now you can use
.to execute a vim or shell command on the node e.g..on footype
!cat:!cat foois executedThat follows prior art from plugins such as fugitive, showing the more-able output.
alex-courtis commentedon Jul 27, 2024
It would be very possible to open a floating terminal at the path with an
on_attachmapping something like:Please do share the recipe for whatever you come up with.