jupyter-vim
vim-unimpaired
jupyter-vim | vim-unimpaired | |
---|---|---|
5 | 52 | |
500 | 3,239 | |
1.0% | - | |
3.5 | 0.0 | |
about 2 months ago | 8 months ago | |
Python | Vim Script | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jupyter-vim
-
Install vim plugin (for XML/HTML encode/decode)
In this config, under the Plugins folder there are various plugins that aren't found in the Astrocommunity repo (aka "Custom" plugins). A great example that I found interesting and included into my own config was mehalters repl.lua file that installs the jupyter-vim plugin. From my limited understanding to install packages into astrovim, we need to make a file in the Plugins folder, make the necessary configurations, and then it should load.
-
send code to jupyter
Is there any way to communicate with jupyter like jupyter-vim? I am aware of python-repl in emacs, but it does not support inline plots/figures. Moreover, it is nice to nice to show outputs in different windows (especially using multiple monitors).
-
jupyter and vim
Now here comes the endboss: Jupyter. For the first time, I feel like I'm missing out on stuff when using vim. I've started a job in datascience, which is actually awesome. However, I work a lot with image data. I also do a lot of analysis on results, meaning I do a lot of fancy plots that hopefully show the weaknesses of our prediction models. I recently wrote an augmentation algorithm where I had to see the output in form of an image after every step to make sure it's correct. This is not a possible workflow in vim right now. I know of many solutions that I already tried, like for example jupyter-vim or the jupyter vim mode. I'd like to work inside my terminal though. I'm not this kind of purist who needs to have a terminal that is compatible with VT100 or whatever people came up with in the 80ies. I also don't care if my terminal in based on an ascii like grid or actually rendered in HTML. I just want (Neo)vim, with the functionality of jupyter (inline plotting) even if this means vim has to be rendered inside an electron app or whatever people use these days for fancy GUIs. Imagine an electron based editor like Oni which not only runs the "real" neovim in the background, but is also able to do inline figures, images, plots and even interactive stuff. It seems to me like I can't be the only one who wants this. So after all this, here's the question: Is there anything you now of that allows for this kind of stuff? Is there any other workflow that I'm not aware of? Or do people just not use those features when working with vim? Pls help a vimmer stay at vim.
-
I'm looking for a comfortable neovim based environment for Python and IPython
For Matlab-like "cell-mode", have a look at https://github.com/jupyter-vim/jupyter-vim/.
-
A possible option for (partially) replacing jupyter-notebook with vim
To work in a py file (or py codelines selection from whatever format): https://github.com/jupyter-vim/jupyter-vim
vim-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and itโs one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
magma-nvim - Interact with Jupyter from NeoVim.
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
vim-jukit - Jupyter-Notebook inspired Neovim/Vim Plugin
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
jupytext.vim - Vim plugin for editing Jupyter ipynb files via jupytext
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
jupyter_ascending - Ascend your Jupyter Notebook usage
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
papermill - ๐ Parameterize, execute, and analyze notebooks
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
nvim-ipy - IPython/Jupyter plugin for Neovim
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript