chishui / terminal-leetcode

Terminal-Leetcode is a terminal based leetcode website viewer.
MIT License
256 stars 27 forks source link

Can not edit code #26

Closed gopricy closed 7 years ago

gopricy commented 7 years ago

When I press "e", it has not effect and won't enter vim mode. I have set the ext and path in config file.

chishui commented 7 years ago

Yes, it's a bug, will be working on it. Thanks for reporting.

chishui commented 7 years ago

Are you running "leetcode" inside tmux?

gopricy commented 7 years ago

No, just normal mode. Tried both Terminal and iTerm on MacOS.

chishui commented 7 years ago

Did you set tmux_support in your config.cfg?

gopricy commented 7 years ago

No

chishui commented 7 years ago

Could you try to run command export EDITOR=vi before run leetcode again?