feat: add new keybinding "b" to run a command in the focused node (#1024)
This commit is contained in:
committed by
GitHub
parent
866442fd2c
commit
4fedb93cec
8
lua/nvim-tree/actions/run-command.lua
Normal file
8
lua/nvim-tree/actions/run-command.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local M = {}
|
||||
|
||||
function M.run_file_command(node)
|
||||
vim.api.nvim_input(": " .. node.absolute_path .. "<Home>")
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user