question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

something wrong when repeating opening one file using LeaderfFile

See original GitHub issue
  • vim or neovim?
    • vim
    • neovim
  • Output of vim --version or nvim --version:
    VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 18 2020 18:29:15)
    
  • Output of :echo has("python"):
    0
    
  • Output of :echo has("python3"):
    1
    
  • Output of :echo &pythondll(only vim, not neovim): Nothing
  • Output of :echo &pythonthreedll(only vim, not neovim): Nothing
  • Output of :py print(sys.version):
    E319: Sorry, the command is not available in this version
    
  • Output of :py3 print(sys.version):
    3.6.9 (default, Jul 17 2020, 12:50:27)
    [GCC 8.4.0]
    
  • Output of :echo g:Lf_Debug_Cmd:
  • Output of :echo g:Lf_FilesFromCache:
  • Operating system:
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Configurations related to LeaderF in vimrc:
    " LeaderF
    nnoremap <leader>f :LeaderfFile .<cr>
    let g:Lf_WildIgnore = {
                \ 'dir': ['.svn','.git','.hg','.vscode','.wine','.deepinwine','.oh-my-zsh'],
                \ 'file': ['*.sw?','~$*','*.bak','*.exe','*.o','*.so','*.py[co]']
                \}
    let g:Lf_UseCache = 0
    

Describe your question, feature request, or bug.

When re-open the file which has opened using LeaderfFile, it will show:

File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/fileExpl.py", line 855, in _acceptSelection^@    lfDrop('', file)^@  File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/l
eaderf/utils.py", line 194, in lfDrop^@    lfCmd("keepj hide drop %s" % escSpecial(file_name))^@vim.error: Vim(drop):E319: Sorry, the command is not available in this version: keepj hide drop
/root/work/codes/oneflow/oneflow/user/ops/relu_op.cpp

Steps to reproduce

Re-open the file which has opened in the vim using LeaderfFile.

Actual behaviour

Show the info:

File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/fileExpl.py", line 855, in _acceptSelection^@    lfDrop('', file)^@  File "/root/.vim/plugged/LeaderF/autoload/leaderf/python/l
eaderf/utils.py", line 194, in lfDrop^@    lfCmd("keepj hide drop %s" % escSpecial(file_name))^@vim.error: Vim(drop):E319: Sorry, the command is not available in this version: keepj hide drop
/root/work/codes/oneflow/oneflow/user/ops/relu_op.cpp

Expected behaviour

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Yggdrootcommented, Nov 11, 2020

Fixed.

0reactions
Yggdrootcommented, Nov 11, 2020

I also reproduced this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

LeaderfFile doesn't show files in MacVim. · Issue #328 - GitHub
Launch LeaderfFile within my $GOPATH, nothing shows in MacVim. ... LeaderfFile works fine within terminal version of Vim. ... If fired within a...
Read more >
Double-clicking an Office file fails to open it in the correct ...
If you have multiple versions of Microsoft Office... · Click the Start button · Type and choose "Control Panel" · Choose Uninstall a...
Read more >
Using a header of headers instead of repeating - Stack Overflow
The reason we split up header files and implementation files into separate files in the first place (aside from code readability) is to ......
Read more >
You are getting files from folders the WRONG way in Power BI ...
and of course also how to do it "properly".If you want to keep the rest of the columns while expanding, ...
Read more >
Why do multiple versions of the file open when I open an ... - FYI
IssueWhen I open an Excel file for edit via desktop, multiple versions of the file are opened. The Activity section in the FYI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found