feat: add new keybinding "b" to run a command in the focused node (#1024)

This commit is contained in:
Andreas Bissinger
2022-03-03 09:05:03 +01:00
committed by GitHub
parent 866442fd2c
commit 4fedb93cec
4 changed files with 17 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
local M = {}
function M.run_file_command(node)
vim.api.nvim_input(": " .. node.absolute_path .. "<Home>")
end
return M