r_neovim

Description
r/neovim

Powered by https://github.com/Massolari/reddit_to_telegram
We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 5 months, 3 weeks ago

Your easy, fun crypto trading app for buying and trading any crypto on the market.

📱 App: @Blum
🆘 Help: @BlumSupport
ℹ️ Chat: @BlumCrypto_Chat

Last updated 5 months, 2 weeks ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 1 month, 4 weeks ago

3 weeks, 6 days ago
I found multicursors.nvim i works great

I found multicursors.nvim i works great

I found this pluigin to use the multiple cursor, select delete etc...

I leave the link here:

https://github.com/smoka7/multicursors.nvim

https://redd.it/1ihr5rm

@r_neovim

3 weeks, 6 days ago
Thoughts on fugitive or neogit?

Thoughts on fugitive or neogit?

I've tried both neogit and fugitive (with vim-flog), and I really enjoyed both to the point where I can't pick which one to use. They both have the same workflow for staging and committing, so the differences are more in the details.

# Pros of fugitive

- More mature plugin, less likely to have bugs or breaking changes, feels polished.

- Little details like refreshing buffers when switching branches automatically are amazing for QoL.

# Cons of fugitive

- Less keymap features built in. They can both do the same workflows, but fugitive relies a lot more on :Git than Neogit. This is especially obvious in cases like git stash where something simple like changing the git stash message doesn't have a keymap.

- Discoverability. I really appreciate the Neogit popup because it advertises the potential actions for you. In fugitive I would have to use g? often because I forgot the exact keymap to amend.

# Pros of Neogit

- Integration: everything feels cohesive. A lot of "do this action with the commit under the cursor" that feels incredible. vim-flog does this too to an extent, but in neogit, it feels nicer since it's part of the plugin itself, instead of having to use :Floggit vs :Git.

- It can just do more without resorting to git CLI. Having a picker when switching branches, or naming your git stashes, all of this makes it far more ergonomic to use. I know some people love the git CLI, I'm more so indifferent to it. An analogy would be git CLI is assembly, and magit style interfaces are C/C++ (vim-fugitive as well), since it's generally easy to see the translation from C to assembly. Lazygit would be more python ish. TL;DR: it's just the right amount of abstraction.

# Cons of Neogit:

- Breaking changes. The diffview integration broke recently, so I have to enter into the file to properly use diffview for merge conflicts now.

- Log missing features from vim-flog. One of my favorite features of vim-flog is the ability to toggle a view of ALL branches. I found it super helpful to really visualize repository history.

- Have to refresh buffers when changing them in the background eg. changing branches. -_-

Curious to know what the subreddit thinks!

https://redd.it/1ihk62i

@r_neovim

3 weeks, 6 days ago
The linematch diffopt makes builtin diff …

The linematch diffopt makes builtin diff so sweat!

TIL this PR: https://github.com/neovim/neovim/pull/14537

And I give it a quick try,

with default `vim.o.diffopt = "internal,filler,closeoff`

https://preview.redd.it/crbfse8v96he1.png?width=3020format=pngauto=webps=d84036caaba9baba62feeae9b1d15933e42aa438

with the new option `vim.o.diffopt = "internal,filler,closeoff,linematch:60"`

https://preview.redd.it/cyhcwylz96he1.png?width=3018format=pngauto=webps=0910ae69dfc7d163c69683925be0e281d647c4cb

Everything becomes so clear.

https://redd.it/1ihpvaf

@r_neovim

3 months, 1 week ago
quicknotes.nvim - a "quick note" plugin …

quicknotes.nvim - a "quick note" plugin for Neovim

https://redd.it/1gvv5mo

@r_neovim

3 months, 1 week ago
How to write stuff to the …

How to write stuff to the "MsgArea" when using "vim.ui_attach()"?

https://redd.it/1gvjhl4

@r_neovim

3 months, 1 week ago
A new plugin that provides paragraph …

A new plugin that provides paragraph motions

https://github.com/aidancz/paramo.nvim

this plugin provides 2 kinds of paragraph motions:

\- para1 (backward and forward)

\- para2 (backward and forward)

https://preview.redd.it/e8vayk2soy1e1.png?width=1920format=pngauto=webps=9c533fdfbaa48c70b14df59b49d6d735294e1f77

para1*backward and para1*forward are like the normal mode `{` and `}` motions

but moves cursor before the empty line (instead of at the empty line)

https://preview.redd.it/z580tgssoy1e1.png?width=1920format=pngauto=webps=b0e94c78fde286cd4ed22df48dc8d75cc814cf54

para2*backward and para2*forward are like the normal mode `E` and `B` motions

but moves cursor vertically (instead of horizontally)

https://redd.it/1gve7w3

@r_neovim

6 months, 2 weeks ago

Neominimap.nvim v3.0.0 Released! (2024-08-21)

? Neominimap.nvim v3.0.0 Released!!

Neominimap.nvim is a Neovim plugin that provides a visual code minimap, similar to the minimaps found in modern editors.

I’m excited to announce the release of Neominimap.nvim v3.0.0. This update introduces some significant changes and new features.

Split Layout

Float Layout

? Breaking Changes:

Change in winopt and bufopt Configuration: The configurations for windows and buffers have been revamped. Please double-check your settings as this may require adjustments.
Change in Layout Configurations:** Some configurations for window layouts have been changed. This change might impact your existing setup.

New Features:

Split Layout Introduced: Now, the minimap can be displayed in a split window.
Tab Commands**: Added commands to manage minimaps across in tab level.

For those who prefer to stay on the v2.x.x series, you can continue using it with the following configuration:

{ "Isrothy/neominimap.nvim", version = "v2.*.*", }

As always, your feedback is invaluable. If you encounter any issues or have suggestions, feel free to open an issue or join the discussions on GitHub.

Thank you for your continued support, and happy coding! ?

Github Repo

https://redd.it/1exy8mx

@r_neovim

6 months, 2 weeks ago
r_neovim
6 months, 2 weeks ago

gO for LaTeX and markdown

A navigable outline would be desirable for large documents like TeX which could be easy to get lost in. Neovim provides `gO` but only works for help and man pages so I did my own extension.

https://preview.redd.it/2zsbsjfie3jd1.png?width=2880format=pngauto=webps=4d8c772f7ef86210cfee785e78d1bb49046925d1

https://preview.redd.it/uz3lcifie3jd1.png?width=2880format=pngauto=webps=5b996396112b1979387382c25a49db960504e853

after/ftplugin/markdown/toc.vim

after/ftplugin/tex/toc.vim

https://redd.it/1eu0aoi

@r_neovim

We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 5 months, 3 weeks ago

Your easy, fun crypto trading app for buying and trading any crypto on the market.

📱 App: @Blum
🆘 Help: @BlumSupport
ℹ️ Chat: @BlumCrypto_Chat

Last updated 5 months, 2 weeks ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 1 month, 4 weeks ago