dyng / ctrlsf.vim

A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
1.59k stars 86 forks source link

Question: about a hack in the source code #300

Closed zzxoto closed 3 years ago

zzxoto commented 3 years ago

Have you guys any insight into how this hack solves the problem of g:CtrlSFGetVisualSelection(); because I stumbled into this problem that visual selection was "stale" when just plainly using that function

P.S. I posted this question mistakenly at vim plug repository instead initally.

dyng commented 3 years ago

I'm sorry that the hacky code is written in 6 years ago so I can't recall anything about how it works. Sorry I can't help you much.