
A motion plugin for file jumping. Hop to file paths, not words.
https://github.com/user-attachments/assets/87b91299-bcf1-49af-95a4-be09752766ba
https://github.com/user-attachments/assets/1d9a2055-e67f-4663-9e1d-d21d09817dca
You're in a terminal buffer. A test fails. The error shows src/utils/parser.lua:42:15.
With other plugins? Copy the path, switch windows, open file, go to line, find column.
With warp.nvim? Press one key, type the hint, you're there.
Error: assertion failed
--> src/utils/parser.lua:42:15 [a] <- hint appears here
expected: true
got: false
file.lua:42 and file.lua:42:15 patterns, jumps to exact position[text](target) links including anchor links in .md files (hints shown in orange)S or V to open in split windows| Type | Color | Example |
|---|---|---|
| File path | Blue | src/utils.lua:42:15 |
| URL | Green | https://example.com |
| Markdown link (anchor) | Orange | [Demo](#demo) |
{
"nolleh/warp.nvim",
config = true, -- Default keymap: <leader>w
-- Or customize:
-- config = function()
-- require("warp").setup({
-- default_keymap = "<leader>wf", -- or false to disable
-- })
-- end,
keys = { "<leader>w" }, -- your binding key (trigger lazy loading)
}
use {
"nolleh/warp.nvim",
config = function()
require("warp").setup()
end
}
<leader>w (default) or run :WarpThat's it. No configuration needed.
Open files in split windows by prefixing the hint with uppercase S or V:
| Input | Action |
|---|---|
a |
Open in current window (edit) |
Sa |
Open in horizontal split |
Va |
Open in vertical split |
Default keymap is <leader>w. You can customize or disable it:
require("warp").setup({
default_keymap = "<leader>wf", -- Custom keymap
-- default_keymap = false, -- Disable default keymap
})
MIT