4 ms·
I like the concept of Jupyter Notebooks and I do use them extensively, but I can't use my emacs shortcuts which makes writing anything more than a few lines rea
by abdullahkhalids 6y ago
I like the concept of Jupyter Notebooks and I do use them extensively, but I can't use my emacs shortcuts which makes writing anything more than a few lines really annoying.
Especially, writing Latex Math without Auctex (emacs package) is very tedious. What's the solution?
- sanketsarang 6y agoHave you tried to see if the shortcuts work on the Jupyter Labs version of the notebooks?
- abdullahkhalids 6y agoThey interfere with the browser shortcuts, like Ctrl-N. Besides, still no auctex or similar. I was literally thinking of making a custom chromium browser with my own shortcuts to solve this problem.
- d0mine 6y agoOrg Babel with emacs jupyter if desired. https://youtube.com/watch?v=dljNabciEGg https://youtube.com/watch?v=dljNabciEGg https://github.com/nnicandro/emacs-jupyter#org-mode-source-blocks https://github.com/nnicandro/emacs-jupyter#org-mode-source-b...
- abdullahkhalids 6y agoI have tried it. It works. But there is too much syntax surrounding code blocks that is annoying. And I need to enable inline Math display and inline image display to get a seamless interface.
- hannasanarion 6y agoJupyter markdown blocks can parse LaTeX math and image embeddings. Pretty sure that's out of the box.
- d0mine 6y agoIt is emacs, it is easy to eliminate the boiler-plate e.g., by using global/per file/per org sub tree defaults, templates.
- bobbylarrybobby 6y agoI usually go the other route: instead of trying to get Jupyter notebooks to behave like my favorite editor, I try to get my favorite editor to behave like a Jupyter notebook. In vscode, the python extension can convert back and forth between python files and Jupyter notes books, and can run python files like Jupyter notebooks (with cells).
- sanketsarang 6y agoDo you know of any service offering hosted VSCode? The problem happens when my data is too large for my computer. In such cases it is much easier to use hosted Jupyter than run Python code on a server.
- akbo 6y agoHave you tried remote development with VSCode? IT works really well! https://code.visualstudio.com/docs/remote/ssh https://code.visualstudio.com/docs/remote/ssh
- jwilber 6y ago+1. Once you get it up and running it works so seamlessly.
- sanketsarang 6y agoI did try this, but it kind of did not work well for me. Since it requires a continuous ssh connection, and my connection kept dropping, the experience was not great. But maybe that was my internet. Need to give it a second attempt.
- larrybud 6y agoTake a look at Visual Studio Codespaces: https://visualstudio.microsoft.com/services/visual-studio-codespaces/ https://visualstudio.microsoft.com/services/visual-studio-co... Despite the name, it's hosted VSCode, not Visual Studio.