NrrwRgn
yode-nvim
NrrwRgn | yode-nvim | |
---|---|---|
10 | 8 | |
672 | 372 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | about 1 year ago | |
Vim Script | Lua | |
- | 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.
yode-nvim
-
Looking for a plugin to do markdown "hoisting".
Perhaps https://github.com/hoschi/yode-nvim
-
How can I delete buffer-local key mappings that a added by a plugin?
The plugin is https://github.com/hoschi/yode-nvim . I've submitted an issue related to this. I just wanted a workaround for the meantime.
-
AstroNvim/AstroNvim: AstroNvim is an aesthetic and feature-rich Neovim config
It gets brought up a lot in vim discussions. It's missing a few major things for me;
1. Tabs (like in vim). I've found only vim and emacs have tabs in a way that makes sense to me. Kakoune also has a cool model, where I can use my window manager (or tmux) to recreate tabs.
2. Code folding, I like to fold everything as soon as I open a file to get an "overview" and then slowly unfold as look into the details. Wasn't in Helix last time I checked.
3. Narrowing. Emacs has it built in, (neo)vim requires a plugin [0]. Similar to code folding, when I'm working on a large function, I want to pretend it's the entirety of my buffer.
[0] https://github.com/hoschi/yode-nvim
-
Show HN: Vim Reference Guide
Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim.
Whenever I try to explain vim to other people, I always start super abstract, i.e 'vim grammar is all (count)? verb then object. Learn actions and then the movements to apply the action where you want'. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable.
Some things I noticed, you mention registers in the insert mode section before explaining what they are. It seemed odd to me that you used the word before explaining what it meant, but maybe it is unavoidable?
I also noticed you completely left out folds (z, :help fold). Personally, I aggressively fold code I'm not working on so I think they are super important :D. There was a plugin posted recently thats a cool alternative to folding though (similar to emacs narrow) [0] [1].
[0] https://github.com/hoschi/yode-nvim
-
Hacker News top posts: Feb 12, 2022
Show HN: Yode-Nvim – Focused Code Editing for Neovim\ (3 comments)
-
Yode-Nvim - Focused Code Editing for NeoVim
found it, check this issue: https://github.com/hoschi/yode-nvim/issues/5
What are some alternatives?
vimpyter - Edit your Jupyter notebooks in Vim/Neovim
cheatsheet.nvim - A cheatsheet plugin for neovim with bundled cheatsheets for the editor, multiple vim plugins, nerd-fonts, regex, etc. with a Telescope fuzzy finder interface!
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
blake3-6502 - the BLAKE3 hash function implemented in 6502 assembly
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
xmonad - The core of xmonad, a small but functional ICCCM-compliant tiling window manager
vim-sleuth - sleuth.vim: Heuristically set buffer options
ppk_bluetooth - Bluetooth HID adapter for the Palm Portable Keyboard
vim-airline - lean & mean status/tabline for vim that's light as air
vim-abolish - abolish.vim: Work with several variants of a word at once
goyo.vim - :tulip: Distraction-free writing in Vim
lingua-go - The most accurate natural language detection library for Go, suitable for short text and mixed-language text