Leaderf rg is much slower than using rg directly
See original GitHub issue- vim or neovim?
- [ x] vim
- neovim
- Output of
vim --version
ornvim --version
: 8.1 431 - Output of
:echo has("python3")
: 1 - Output of
:echo &pythonthreedll
(only vim, not neovim): libpython3.5m.so.1.0 - Output of
:py3 print(sys.version)
: 3.5.3 (default, Sep 27 2018, 17:25:39) GCC 6.3.0 20170516 - Operating system:
- Linux
- Mac OS X
- Windows
- Etc.
- Configurations related to LeaderF in vimrc:
let g:Lf_PreviewCode = 0
let g:Lf_UseVersionControlTool = 0
let g:Lf_DefaultMode = 'FullPath'
nnoremap fg :<C-u><C-R>=printf("Leaderf! rg --stayOpen -e ")<CR>
Steps to reproduce
$cd .vim
$time rg set
$vim
fg set<CR>
Actual behaviour
using rg directly rg set 0.84s user 4.71s system 37% cpu 14.650 total
use leaderf rg more than three minutes, and make vim slower.
Expected behaviour
both of them spent almost the same time, vim is not stuck
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
An efficient fuzzy finder that helps to locate files, buffers, mrus ...
Take the :Rg command of fzf.vim as an example, compared with Leaderf rg , they both use the ripgrep tool to grep through...
Read more >How to Get an Employee to Work Faster
A slower worker doesn't just reduce a team's productivity — he can also hurt his colleagues' morale, says Lindsay McGregor, the coauthor of ......
Read more >Endocrine Society: Endocrine.org
Endocrine Society is a global community of 18000-plus endocrine investigators and clinicians more than 100 countries. Members focus on improving patient ...
Read more >AdventHealth | A Leader in Whole-Person Health Care
The AdventHealth network of health care extends beyond your nearest hospital. From primary care to specialty medical services, we're here to help you...
Read more >AACN Fact Sheet - Nursing Shortage
The U.S. is projected to experience a shortage of Registered Nurses (RNs) that is expected to intensify as Baby Boomers age and the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added. https://github.com/Yggdroot/LeaderF/commit/8dad47a4feb20d36ccfcfa44120a814ab12d5c29
OK, I’ll add it.