Mercurial > dotfiles
changeset 584:9fab6a7e1c21
Add quick-scope plugin
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 10 Apr 2022 12:03:05 +0200 |
parents | d16dddcf165e |
children | 05e78f59392c |
files | .chezmoitemplates/init.lua |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua Sat Apr 09 16:04:41 2022 +0200 +++ b/.chezmoitemplates/init.lua Sun Apr 10 12:03:05 2022 +0200 @@ -135,6 +135,16 @@ -- Undoing use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } + -- F/T navigation + use { + 'unblevable/quick-scope', + config = function() + vim.g.qs_hightlight_on_keys = { 'f', 'F', 't', 'T' } + vim.g.qs_buftype_blacklist = { 'terminal', 'nofile', 'help' } + vim.cmd [[ highlight QuickScopePrimary gui=underline cterm=underline ]] + end, + } + -- Parentheses etc use { 'tpope/vim-surround' } use {