NrrwRgn
inline_edit.vim
NrrwRgn | inline_edit.vim | |
---|---|---|
10 | 9 | |
672 | 147 | |
- | - | |
0.0 | 2.9 | |
about 2 years ago | 11 days ago | |
Vim Script | Vim Script | |
- | - |
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.
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.
inline_edit.vim
-
Looking for a plugin to do markdown "hoisting".
https://github.com/AndrewRadev/inline_edit.vim seems to fit the bill if I understood correctly. It works by visually selecting lines you want to edit separately (possibly with a different filetype).
-
What are your favorites not that popular nvim plugins ?
i really love https://github.com/AndrewRadev/inline_edit.vim
-
Help getting typescript server plugins working in LSP
I have hard of nvim_femaco.lua and inline-edit.nvim.
- Plugin request: Looking for a plugin that would open part of the file in a separate buffer
-
Question about web dev setup
It's less convenient, but you can use my inline_edit plugin (or something similar, search for "narrow") to open up the script tag in a separate buffer. Not sure if the LSP stuff will trigger properly, but it's something to try.
-
Plugin with multiple syntax zone/fenced code
Check out https://github.com/AndrewRadev/inline_edit.vim, you can visually select a block of text and edit it in another buffer, automatically applying changes to the original one.
-
Question: Looking to write text from a buffer into a section of another buffer on `BufLeave` or `BufWriteCmd` without saving.
I've got a plugin for this: https://github.com/AndrewRadev/inline_edit.vim. The autocommands are here, but really, there's no magic, it's one autocommand that triggers a bunch of code. You won't find a one-shot solution. BufWrite triggers on write, and you'd have to replace the lines in whatever way you choose. Quitting is just a matter of abandoning the changes with :q.
-
The way indentation and syntax highlighting is handled in nvim is frustrating me
Not sure how intertwined html and php is, but take a look at https://github.com/AndrewRadev/inline_edit.vim. I recently found an think it's a great idea, but haven't tried it myself it yet.
-
Introducing FeMaco: Catalyze your Fenced Markdown Code-block editing!
inline_edit.vim solves a similar problem
What are some alternatives?
yode-nvim - Yode plugin for NeoVim
nvim-trevJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments, powered by treesitter
vimpyter - Edit your Jupyter notebooks in Vim/Neovim
nvim-FeMaco.lua - Catalyze your Fenced Markdown Code-block editing!
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-SyntaxRange - Define a different filetype syntax on regions of a buffer.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
writable_search.vim - Grep for something, then write the original files directly through the search results.
vim-sleuth - sleuth.vim: Heuristically set buffer options
better-escape.nvim - Escape from insert mode without delay when typing
vim-airline - lean & mean status/tabline for vim that's light as air
vim-isolate - Isolate part of a file to create a 'safe edit environment'