NrrwRgn
vim-repeat
NrrwRgn | vim-repeat | |
---|---|---|
10 | 27 | |
672 | 2,550 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | 9 months 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.
vim-repeat
-
Repeat LSP rename
which requires vim-repeat to be installed but otherwise silently does nothing extra.
-
is it possible to repeat a deletion of the type dt?
Do you have vim-repeat? I think sneak should work with that.
- Neovim version of tpope/vim-repeat
-
markdowny.nvim
e.g. in vim-surround you could just do something like ysiw_ to make a word italics or ysiw*w. (assuming you also have vim-repeat).
-
How to register a lua function with vim-repeat?
vim.keymap.set("n", "dj",require"dap".step_over). However, I have not had any luck with registering this with vim-repeat. I have tried following the solution here, but nothing seems to happen. Also, the README in the vim-repeat repo only gives an example of use with a mapping, which is not my case. I don't think this is specific to nvim-dap in particular, so has anyone been able to add dot repeat functionality to any lua function?
- what is your startup time?
-
Neovim: Plugins to get started
Github: tpope/vim-repeat
-
Adding Dot-Repeat to Plugins
Hi all, I just wanted to share a short gist I wrote for plugin authors on how they can incorporate dot-repeat functionality directly into their plugins, without external dependencies like vim-repeat. In general, I'm open to any suggestions about writing style or content; I just wanted to share some things that I wish I knew when I started writing nvim-surround. Cheers!
- Whenever I'm looking for plugins these days [OC]
-
what vimL plugins are you still using?
vim-repeat: More power to the dot.
What are some alternatives?
yode-nvim - Yode plugin for NeoVim
kok.nvim - Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
vimpyter - Edit your Jupyter notebooks in Vim/Neovim
quick-scope - Lightning fast left-right movement in Vim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
wilder.nvim - A more adventurous wildmenu
vim-sleuth - sleuth.vim: Heuristically set buffer options
replacer.nvim - A powerful refactoring tool for nvim.
vim-airline - lean & mean status/tabline for vim that's light as air
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease