vimpyter
NrrwRgn
vimpyter | NrrwRgn | |
---|---|---|
4 | 10 | |
338 | 672 | |
- | - | |
1.6 | 0.0 | |
over 2 years ago | about 2 years ago | |
Vim Script | Vim Script | |
MIT License | - |
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.
vimpyter
-
How do you use Jupiter notebooks without wanting to rip your eyes out?
You could maybe try https://github.com/szymonmaszke/vimpyter, but to be honest vim isn't a very good choice for editing Jupyter notebooks.
-
A possible option for (partially) replacing jupyter-notebook with vim
To work in a .pynb file and compile it: https://github.com/szymonmaszke/vimpyter/issues/3
-
Partition file into regions with different filetype
It looks to me like their approach could work, using proxy files and stuff. I'd just need to make it much more general. But good place to start, thanks!
NrrwRgn
-
Looking for a plugin to do markdown "hoisting".
Throwback to a real classic: narrow region
-
Sorting in Emacs
I lean a fair bit in the opposite direction. If a sort is any more complex than -n or -k, I tend to vipe¹ my sort in my editor.
It feels great when you can use narrow-to-region² to perfect a complex address or write a custom function with all your editor's power at your fingertips. With the sad, but obvious, drawback that the changes aren't linked in your disjoint shell and editor history.
¹ https://manpages.debian.org/jessie/moreutils/vipe.1.en.html
² Nowadays, that is more likely https://github.com/chrisbra/NrrwRgn for me.
-
Plugin request: Looking for a plugin that would open part of the file in a separate buffer
NrrwRgn ?
- Launch a `/` search only in the visible part of a buffer
- How to hoist the current method/function?
-
What are your must-have vim/nvim extensions?
chrisbra/NrrwRgn - Opens focussed part "region" of the buffer
-
Vim syntax highlighting for SQL strings inside Python code
On a more general level, Christian Brabandt's re-imagining of emacs' region narrowing can be a great work to work files that contain complex embedded strings.
Much like the emacs feature it is useful outside this specific use case too, and it can be a great way to perform heavy edits without needing to care about boundaries and such.
¹ https://github.com/chrisbra/NrrwRgn
-
Yode-Nvim - Focused Code Editing for NeoVim
Wow! It's like https://github.com/chrisbra/NrrwRgn with steroids! Good job!
-
How to use tsserver lsp inside <script> tags in html files?
https://github.com/chrisbra/NrrwRgn might work. Narrow the region to that of only the script and change the filetype (:set filetype=typescript) of the narrowed regions buffer (it will open a separate window, with its own buffer) to that of the server you want and then do :Lsp start. Haven't tried it myself as I do not write any html with embedded script.
-
Partition file into regions with different filetype
My use case is somewhat similiar to https://github.com/chrisbra/NrrwRgn and maybe i could tweak it to actually do it, but i feel it's not quite there. I'd like to still se the other regions of the code while editing.
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
yode-nvim - Yode plugin for NeoVim
jupyter-vim - Make Vim talk to Jupyter kernels
euporie - Jupyter notebooks in the terminal
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
disassemble.nvim - Neovim Plugin to show in a popup the assembler code for the current line in a C file
vim-sleuth - sleuth.vim: Heuristically set buffer options
vim-jukit - Jupyter-Notebook inspired Neovim/Vim Plugin
vim-airline - lean & mean status/tabline for vim that's light as air
vim-terminator - :dagger: Run your code in an output buffer or a vim terminal conveniently
goyo.vim - :tulip: Distraction-free writing in Vim