-
Hi, I'm currently using My question now is, if it's possible to toggle the focus between the current file and file explorer, without selecting a file in the file explorer, or not? And if it's possible, how can I do it? I'm sorry if the same question has been answered already, but I couldn't find an answer yet. If any other information is needed, I will gladly try to provide as much as I can. Any help is greatly appreciated, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You can use @alex-courtis should that work: { key = 'some-key', action_cb = function() vim.cmd.wincmd 'p' end } ? It works fine executed from command line. |
Beta Was this translation helpful? Give feedback.
You can use
wincmd p
within nvim-tree to switch back to previous window. But after quick test I couldn't get it to work (always switching to the next window on the right instead of previous one).@alex-courtis should that work:
? It works fine executed from command line.