diff --git a/lua/weeheavy/remap.lua b/lua/weeheavy/remap.lua index 1bd4959..0243e51 100644 --- a/lua/weeheavy/remap.lua +++ b/lua/weeheavy/remap.lua @@ -116,3 +116,8 @@ end, { desc = "Toggle diagnostic virtual lines and virtual text" }) -- Pomodoro timer vim.keymap.set("n", "p", ":TimerStart 30m", { desc = "Pomodoro" }) + +-- Go to context via treesitter-context +vim.keymap.set("n", "fc", function() + require("treesitter-context").go_to_context(vim.v.count1) +end, { silent = true })