Can't open file with NvimTree when LeetCode is open. #166
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
arduinohatesme/leetcode.nvim#166
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, thank you for your contribution to this project. While using the
leetcodeplugin, I may have encountered an issue related to opening files. The specific situation is as follows:First, I entered
nvim leetcode.nvimin the terminal to open the LeetCode plugin page.Then, I used
Ctrl+n(which is the shortcut I configured to open the NvimTree plugin) to open the NvimTree panel on the left.However, when I selected a file and pressed
Enter, nothing happened, and the cursor automatically jumped to the LeetCode main page on the right. Could you please help me understand why this is happening?Not the main guy who made this, but I can make a guess:
I have a plugin called oil.nvim (
it's like NvimTree but better XD)If I do
Space+oI get this:If you fork the repo, you can try
git grep winfixbuf:I believe the creators don't want you to switch buffers, and since Leetcode questions are all individual problems, there isn't a good reason for switching to another file out of the blue.
If you want to continue doing say problem 2, you can go to Menu > Problems > List, then type 2.
Hope this helps!
Thanks for your reply. I will have a try!