-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leaderfbuffer got very slow when some large files open #1079
Comments
yes, because vim's popup window is not so good. Neovim would be faster. |
I created an issue vim/vim#15006. |
According to vim help, popup_create function allow buffer number being the first parameter. This can speedup the buffer oppenning. |
I modified the code that we can only preview 4096 lines. This may speedup the preview. |
Thanks for your work. But really little speedup. |
vim --version
ornvim --version
: 9.0:echo has("python")
: 0:echo has("python3")
: 1:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
::py3 print(sys.version)
: 3.10.12:echo g:Lf_Debug_Cmd
::echo g:Lf_FilesFromCache
:let g:Lf_ShortcutF = "noexistkey"
let g:Lf_ShortcutB = "noexistkey"
let g:Lf_WindowPosition = 'popup'
let g:Lf_StlSeparator = { 'left': '', 'right': '' }
let g:Lf_HideHelp = 1
let g:Lf_UseCache = 0
let g:Lf_UseVersionControlTool = 0
let g:Lf_IgnoreCurrentBufferName = 1
let g:Lf_PreviewInPopup = 1
let g:Lf_PreviewResult = {'Function': 0, 'BufTag': 0 }
let g:Lf_WorkingDirectoryMode = 'Ac'
Describe your question, feature request, or bug.
When vim has several large files (>100M) open, the leaderfbuffer got very slow.
It seems this command would excute some file open operation, while the file already loaded.
Steps to reproduce
Actual behaviour
The buffer navigation should not be slower than it is inside vim.
Expected behaviour
Somooth navigation between buffers.
The text was updated successfully, but these errors were encountered: