From 446a4bd322eed56c6d898128de17681744a51e6a Mon Sep 17 00:00:00 2001 From: Naoto Ikuno Date: Fri, 10 Jan 2025 22:18:30 +0900 Subject: [PATCH] add quick-scope plugin --- nvim/lua/plugins/ui.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 7f6962f..603021f 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -158,7 +158,7 @@ return { end, event = 'FilterWritePre', opts = { - nearest_only = true + nearest_only = true, }, }, { @@ -236,4 +236,10 @@ return { dependencies = { 'nvim-lua/plenary.nvim' }, config = true, }, + { + 'unblevable/quick-scope', + init = function() + vim.keymap.set('n', 'tq', 'QuickScopeToggle', { desc = 'toggle quick-scope' }) + end, + }, }