Skip to content

Instantly share code, notes, and snippets.

VanLaser / context_quick_scope.vim
Last active Aug 29, 2015 — forked from cszentkiralyi/context_quick_scope.vim
Only enable the quick-scope plugin's highlighting when using the f/F/t/T movements
View context_quick_scope.vim
" Insert into your .vimrc after quick-scope is loaded.
" Obviously depends on <> being installed.
" enable quick_scope conditionally
let g:qs_enable = 0
let g:qs_enable_char_list = [ 'f', 'F', 't', 'T' ]
function! Quick_scope_selective(movement)
let needs_disabling = 0
if !g:qs_enable