Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 584:9fab6a7e1c21
Add quick-scope plugin
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 10 Apr 2022 12:03:05 +0200 |
parents | 8d5873878bb8 |
children | 05e78f59392c |
comparison
equal
deleted
inserted
replaced
583:d16dddcf165e | 584:9fab6a7e1c21 |
---|---|
132 }, | 132 }, |
133 } | 133 } |
134 | 134 |
135 -- Undoing | 135 -- Undoing |
136 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } | 136 use { 'sjl/gundo.vim', cmd = { 'GundoToggle' } } |
137 | |
138 -- F/T navigation | |
139 use { | |
140 'unblevable/quick-scope', | |
141 config = function() | |
142 vim.g.qs_hightlight_on_keys = { 'f', 'F', 't', 'T' } | |
143 vim.g.qs_buftype_blacklist = { 'terminal', 'nofile', 'help' } | |
144 vim.cmd [[ highlight QuickScopePrimary gui=underline cterm=underline ]] | |
145 end, | |
146 } | |
137 | 147 |
138 -- Parentheses etc | 148 -- Parentheses etc |
139 use { 'tpope/vim-surround' } | 149 use { 'tpope/vim-surround' } |
140 use { | 150 use { |
141 'windwp/nvim-autopairs', | 151 'windwp/nvim-autopairs', |