summaryrefslogtreecommitdiff
path: root/lua/nv-quickscope/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nv-quickscope/init.lua')
-rw-r--r--lua/nv-quickscope/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/nv-quickscope/init.lua b/lua/nv-quickscope/init.lua
new file mode 100644
index 00000000..4c706698
--- /dev/null
+++ b/lua/nv-quickscope/init.lua
@@ -0,0 +1,7 @@
+-- Trigger a highlight in the appropriate direction when pressing these keys:
+-- vim.cmd('let g:qs_highlight_on_keys = [\'f\', \'F\', \'t\', \'T\']')
+vim.g.qs_highlight_on_keys = {'f', 'F', 't', 'T'}
+
+vim.api.nvim_exec('highlight QuickScopePrimary guifg=\'#00C7DF\' gui=underline ctermfg=155 cterm=underline', false)
+vim.cmd('highlight QuickScopeSecondary guifg=\'#eF5F70\' gui=underline ctermfg=81 cterm=underline')
+vim.g.qs_max_chars=150