Skip to content

Commit bb074e5

Browse files
authored
feat(editing-support): Add quick-scope (#1370)
feat(editing-support): adds unblevable/quick-scope
1 parent 5ebbcf3 commit bb074e5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# quick-scope
2+
3+
Visual guides on current line for f and t motions.
4+
5+
**Repository:** <https://github.com/unblevable/quick-scope>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
return {
2+
{
3+
"unblevable/quick-scope",
4+
keys = { "f", "F", "t", "T" },
5+
dependencies = {
6+
"AstroNvim/astrocore",
7+
opts = function(_, opts)
8+
if not opts.options then opts.options = {} end
9+
opts.options.g["qs_highlight_on_keys"] = { "f", "F", "t", "T" }
10+
if not opts.mappings then opts.mappings = {} end
11+
opts.mappings.n["<Leader>uq"] = { "<Cmd>QuickScopeToggle<CR>", desc = "Toggle quick-scope" }
12+
end,
13+
},
14+
},
15+
}

0 commit comments

Comments
 (0)