summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/quickscope/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/quickscope/init.lua')
-rw-r--r--.config/nvim/lua/quickscope/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/lua/quickscope/init.lua b/.config/nvim/lua/quickscope/init.lua
new file mode 100644
index 0000000..4c70669
--- /dev/null
+++ b/.config/nvim/lua/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