Difference between revisions of "Quickscope"
From EdWiki
(Created page with "__NOTOC__ === Install === Plug 'unblevable/quick-scope' === Create config file === touch ~/.config/nvim/plug-config/quickscope.vim Make sure to source this file in init....") |
m (→Create config file) |
||
Line 7: | Line 7: | ||
touch ~/.config/nvim/plug-config/quickscope.vim | touch ~/.config/nvim/plug-config/quickscope.vim | ||
+ | |||
Make sure to source this file in init.vim | Make sure to source this file in init.vim |
Revision as of 03:17, 24 February 2021
Install
Plug 'unblevable/quick-scope'
Create config file
touch ~/.config/nvim/plug-config/quickscope.vim
Make sure to source this file in init.vim
source $HOME/.config/nvim/plug-config/quickscope.vim
Quickscope
Form the github repo:
"An always-on highlight for a unique character in every word on a line to help you use f, F and family."
Configure Quickscope
" Trigger a highlight in the appropriate direction when pressing these keys: let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline highlight QuickScopeSecondary guifg='#afff5f' gui=underline ctermfg=81 cterm=underline let g:qs_max_chars=150
Quickscope Commands
f{char} F{char} t{char} T{char}