diff --git a/.gitmodules b/.gitmodules index 6977ce8..6e318f4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,9 +28,6 @@ [submodule ".vim/bundle/vim-unimpaired"] path = pack/plugins/start/vim-unimpaired url = https://github.com/tpope/vim-unimpaired.git -[submodule ".vim/bundle/vim-interestingwords"] - path = pack/plugins/start/vim-interestingwords - url = https://github.com/vasconcelloslf/vim-interestingwords.git [submodule ".vim/bundle/vim-dirvish"] path = pack/plugins/start/vim-dirvish url = https://github.com/justinmk/vim-dirvish.git @@ -97,3 +94,6 @@ [submodule "pack/plugins/start/revolver.nvim"] path = pack/plugins/start/revolver.nvim url = https://github.com/FooSoft/revolver.nvim.git +[submodule "pack/plugins/start/vim-quickhl"] + path = pack/plugins/start/vim-quickhl + url = https://github.com/t9md/vim-quickhl.git diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index bff386c..9fb4584 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -81,9 +81,11 @@ vim.g.go_metalinter_enabled = {} vim.g.go_null_module_warning = 0 vim.g.go_version_warning = 0 --- vim-interestingwords -vim.g.interestingWordsGUIColors = {'#8ccbea', '#a4e57e', '#ffdb72', '#ff7272', '#ffb3ff', '#9999ff'} -vim.g.interestingWordsTermColors = {'154', '121', '211', '137', '214', '222'} - -- vim-polyglot vim.g.rustfmt_autosave = 1 + +-- vim-quickhl +vim.keymap.set('n', 'k', '(quickhl-manual-this)') +vim.keymap.set('x', 'k', '(quickhl-manual-this)') +vim.keymap.set('n', 'K', '(quickhl-manual-reset)') +vim.keymap.set('x', 'K', '(quickhl-manual-reset)') diff --git a/pack/plugins/start/vim-interestingwords b/pack/plugins/start/vim-interestingwords deleted file mode 160000 index e59f97a..0000000 --- a/pack/plugins/start/vim-interestingwords +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e59f97aca15c6180e6f3aceaf4f7b50ca04326ed diff --git a/pack/plugins/start/vim-quickhl b/pack/plugins/start/vim-quickhl new file mode 160000 index 0000000..be1f441 --- /dev/null +++ b/pack/plugins/start/vim-quickhl @@ -0,0 +1 @@ +Subproject commit be1f44169c3fdee3beab629e83380515da03835e