Python Virtual Environments and Navigating windows
ECon87 opened this issue · comments
Evangelos Constantinou commented
Hi,
Great plugin. Two questions:
-
How can I work within a python virtual environment?
-
Once in the repl window, I cannot move back to the editor using the keyboard. How can I fix this?
Cheers.
Samuel Roeca commented
- You need to do 2 things. First, make sure that your virtualenv is activated when you open Vim. Second, make sure you've installed the executable you're running (bpython, etc) in your virtualenv
- As long as you're only in the repo window, your regular navigation keys should work (
<C-w>j
,<C-w>h
, etc). If you've entered INSERT mode within the repl, you'll need to escape using the weird Neovim-specific keybinding<C-\><C-n>.
Don't blame me, I didn't choose that :p
Hope everything works out for you!
Evangelos Constantinou commented
Thank you that worked like a charm. And thanks again for the great plugin. I was looking for a minimal repl plugin for neovim for a while.