lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

53
active users

#nvim

1 post1 participant0 posts today

Sharing because it's been very useful to me since I discovered it last week: uv.nvim.

A small but very useful Neovim plugin that automatically activates your uv-powered project virtual environment, among other things.

Super helpful, as I no longer have to remember to manually load into the environment —something I never really got into to be honest— or run `uv run nvim .`

github.com/benomahony/uv.nvim

uv functionality available in neovim. Contribute to benomahony/uv.nvim development by creating an account on GitHub.
GitHubGitHub - benomahony/uv.nvim: uv functionality available in neovimuv functionality available in neovim. Contribute to benomahony/uv.nvim development by creating an account on GitHub.
#Nvim#NeoVim#UV

I predict we'll see a nvim fork called 'nvimo'—here's my reasoning:

If we look at vi -> vim -> nvim,
1. we add letters in alphabetical order: first 'm' added to 'vi', then 'n' added to 'vim'
2. we alternate adding letters before and after: 'm' to the end of 'vi', then 'n' to the beginning of 'vim'

Thus, adding 'o' at the end is logically next

I don't use line numbers in my #vim motions because

- I am a monkey who struggle with additions. 🐒
- And I use a 40% keyboard without num row. 🤕

So of course, I litteraly bowed in front of
flash.nvim ⚡
and stuck with it for the last 8 months!

It promotes a much more *natural* way of navigating a file by pattern matching, a lot like the "less" utility.

#nvim

github.com/folke/flash.nvim

Continued thread

I've had this happen MANY times in the 2 or so years since I started using #nvim. I get used to a certain muscle memory / pattern, then every so often I google something random and discover a seemingly basic feature that makes me go "this is a thing??? and I didn't know about it until now?????!!!"

which makes me think: how many things am I missing out on? It already feels like I've learned a lot over the years, and yet...

have been using #nvim for a while, only learnt today that you can navigate between "paragraphs" (groups of contiguous lines without empty lines) with `{` and `}`

mental, I'm SPEEDING through files mwahahaha

Some time ago I wrote about using Helix editor on FreeBSD. I liked the „batteries included“ approach and I was curious to see whether Helix could be an actual replacement for Neovim.

I really tried and I forced myself to like Helix. And yes, Helix’s approach might be perfect for newbies who have never worked before with vim. But at some point I found myself on a customer’s server, desperately pressing ‚d‘ and wondering why it didn’t delete the character under my cursor. At this point I decided to dump Helix. The fact that some commands are slightly different, but not completely, made it hard for me to switch between systems and made me look like a complete idiot when editing a config while sharing the screen with a client.

BTW is there meanwhile an option to run lua-language-server on FreeBSD? I am using kickstart with nvim and it’s complaining that it can’t install the lsp because it’s not supported on this platform.

#helix#nvim#neovim

Hey #VimWizards,

Is there an easy way to set an option like "cursorline" from the commandline, like vim -o "set cursorline" file.txt?

(I know that's not what -o does, at least in nvim)

#vim #nvim #NeoVim

UPDATE: The wizards have spoken!
vim -c 'set cursorline' file.txt

In addition, it seems that vim -c 5 is equivalent to vim +5, because it's interpreting '5' as a command (:5)
I always love going back and reading the part of the manpage that describes the option once I learn it, because then I learn the lingo and understand things just a tiny bit better.
And yeah, I'm 25 years a vim newbie. XD

I can't help but smile of how much joy it brings me to learn a new vim-motion. And not to mention how entertaining (and joyful) it is to watch passionate people demonstrate said motions.

There's like a real community spirit around vim.

I very recently began seriously using nvim as my main coding environment and I'm really starting to understand the hype.

#nvim#vim#IDE

If you are a #Neovim user and you like #vimwiki take a look at:
github.com/Nedra1998/nvim-mdli

I replaced Vimwiki with Neorg for a while but it's a bit complicated and requires learning a new syntax. (So many good features if you really learn how to use it). But I prefer simplicity of markdown documents so I'm using #mdlink with github.com/MeanderingProgramme right now
#nvim
#vim

GitHubGitHub - Nedra1998/nvim-mdlink: Useful functionality for working with links in markdownUseful functionality for working with links in markdown - Nedra1998/nvim-mdlink