Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to have Emacs mode as well #26

Closed
kaushalmodi opened this issue Jun 27, 2019 · 6 comments
Closed

Request to have Emacs mode as well #26

kaushalmodi opened this issue Jun 27, 2019 · 6 comments

Comments

@kaushalmodi
Copy link

Hello,

I see that the judge0 IDE has Vim mode. Can we also please have an Emacs mode?

Ref: nim-lang/Nim#11599 (comment)

@hermanzdosilovic
Copy link
Member

I will add that in the near future: #27 (comment)

@hermanzdosilovic
Copy link
Member

Hey @kaushalmodi,

I have added Vim and Emacs support on https://ide.judge0.com. Please check it out let me know does it work for you as expected.

If you are not sure if Judge0 IDE behaves as expected, please consult with https://editor.bitwiser.in. I am using their plugin for both vim and emacs.

Thanks!

Herman

@kaushalmodi
Copy link
Author

kaushalmodi commented Nov 4, 2019

The Ctrl+N (C-n) binding in Emacs should act like down arrow. But on Firefox, the Ctrl+N is stolen by the browser (Firefox) to open a new window.

The Ctrl+P (C-p) binding to act like up arrow works fine though (the browser is not stealing that binding to open the print dialog (as expected)).

Thanks for working on this.

By the way, I use Nim and was surprised to see Nim not available on that link (so I opened this other issue: #32 ). And the Emacs binding setting is not available on https://nim.ide.judge0.com/.

@hermanzdosilovic
Copy link
Member

Thanks for your fast review @kaushalmodi!

I will consider this feature as working because C-n cannot be cached by JavaScript.

I separated Nim from Judge0 IDE because Nim isn't currently in Judge0 API. At first Nim was added as experimental language to feature Judge0 but at the same time give Nim community something useful. I will think about adding Nim to Judge0 IDE (and API) and will let you know when that happens.

@kaushalmodi
Copy link
Author

I tried the Emacs mode more today with basic stuff but none of these bindings work:

  • C-x h (Ctrl+X, release, press H) : select all
  • C-y - Paste
  • C-w - Cut (this kills the tab!!)

@hermanzdosilovic
Copy link
Member

Hey @kaushalmodi,

I was able to reproduce this but it seems to me that monaco-emacs plugin that I use doesn't work as expected.

Can you please open an issue there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants