NrrwRgn
vim-cool
NrrwRgn | vim-cool | |
---|---|---|
10 | 24 | |
672 | 499 | |
- | - | |
0.0 | 2.0 | |
about 2 years ago | 8 months 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.
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-cool
-
auto-hlsearch.nvim: Automatically manage hlsearch
Awesome! Is it like vim-cool but written in Lua?
-
How do you turn off the yellow highlighting after your done with the search?
I use https://github.com/romainl/vim-cool to do it automatically
-
How can I make searching for an empty string actually execute :let @/=""
You can try this plugin: https://github.com/romainl/vim-cool
- Good vim keymaps
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-cool Not sure if there's an easier way to do it than having this plugin, but it disables search highlighting when you're done, and enables again when you search again. Makes me not have to use `:noh`
- set nohlsearch when pressing anything except n or N?
-
Call :noh command at InsertEnter autocmd
You may be interested in the vim-cool plugin, which uses InsertEnter and CursorMoved autocmds to automatically disable search highlighting after you're done with the search.
-
Disable highlight after searching something?
I have heard nice things about vim-cool
-
What are your must-have vim/nvim extensions?
romainl/vim-cool - Disables search highlights after using. Minor but nice.
- What are some of the unique functions you use in your .vimrc?
What are some alternatives?
yode-nvim - Yode plugin for NeoVim
FiraCode - Free monospaced font with programming ligatures
vimpyter - Edit your Jupyter notebooks in Vim/Neovim
vim-sensible - sensible.vim: Defaults everyone can agree on
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-visual-multi - Multiple cursors plugin for vim/neovim
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
firenvim - Embed Neovim in Chrome, Firefox & others.
vim-sleuth - sleuth.vim: Heuristically set buffer options
novim-mode - Plugin to make Vim behave more like a 'normal' editor
vim-airline - lean & mean status/tabline for vim that's light as air
golden-ratio - Automatic resizing of Vim windows to the golden ratio