diff --git a/lua/astrocommunity/editing-support/quick-scope/README.md b/lua/astrocommunity/editing-support/quick-scope/README.md new file mode 100644 index 000000000..53c0b6ff4 --- /dev/null +++ b/lua/astrocommunity/editing-support/quick-scope/README.md @@ -0,0 +1,5 @@ +# quick-scope + +Visual guides on current line for f and t motions. + +**Repository:** diff --git a/lua/astrocommunity/editing-support/quick-scope/init.lua b/lua/astrocommunity/editing-support/quick-scope/init.lua new file mode 100644 index 000000000..e1d8cf69b --- /dev/null +++ b/lua/astrocommunity/editing-support/quick-scope/init.lua @@ -0,0 +1,13 @@ +return { + { + "unblevable/quick-scope", + keys = { "f", "F", "t", "T" }, + dependencies = { + "AstroNvim/astrocore", + opts = function(_, opts) + if not opts.mappings then opts.mappings = {} end + opts.options.g["qs_highlight_on_keys"] = { "f", "F", "t", "T" } + end, + }, + }, +}