226
10
submitted 3 years ago* (last edited 3 years ago) by vhl@programming.dev to c/neovim@programming.dev

Answer

Hi, I am somewhat a noob when it comes to lua-script, so excuse me if this question is trivial. I want to change this line:

let g:slime_default_config = {"socket_name": "default", "target_pane": "{last}"}

to lua, but I don't know how. I have checked the learn-to-write-nvim-config-in-lua github, it was totally over my head. Can someone help me? Thank you!! ๐Ÿ˜‡

227
9
How I manage snippets (howarddo2208.github.io)
submitted 3 years ago* (last edited 3 years ago) by howarddo@programming.dev to c/neovim@programming.dev

Hi guys, it's my new blog post on managing snippets with a TUI program called Nap. I know it not addressing Neovim specifically, but writing code in the terminal in general, and I'm requesting Tmux community btw. Hope you find the blog useful.

228
28
229
12

I have a neovim with lots of plugins, and macros are broken. After I record them and I try to run them they stop in the middle, and won't replay every action I did.

My guess is that some plugin is breaking it, I noticed that autocompletition is usually not working, so I avoid it. My question is how can I find any other plugins that break it, and fix it?

230
21

231
12

Is there a simple script or plugin that uses patterns to get the root project directory path of a rust project in lua? The pattern should be to vheck for 'Cargo.lock' file

232
13
submitted 3 years ago by lung@lemmy.world to c/neovim@programming.dev

Zenith said:

URL: https://github.com/Zeioth/compiler.nvim

This compiler detects the filetype you are using. From there it detects the entry point of your program and compiles it with the correct compiler so you don't need to setup anything.

Currently it is on beta state and only works with c. More languages available in the coming days.

I rather releasing it now in case someone wants to participate and leave comments before I solidify the architecture.

I coded this for NormalNvim so take a look there if you want too.

Cheers.

233
35
submitted 3 years ago by lung@lemmy.world to c/neovim@programming.dev
234
12

๐Ÿ˜ป

235
21
236
14
submitted 3 years ago* (last edited 3 years ago) by lung@lemmy.world to c/neovim@programming.dev

Hey guys, I'm currently one of the active members the neovim reddit (hugelung), and I'm in full support of migrating to lemmy. I was hoping to be modded here, and helping migrate content / roll people over

237
6

A quick-and-dirty plugin to optimize your svg files in nvim using svgo

238
4

gpt4all - free/libre ecosystem of LLMs. So I forked ChatGPT.nvim and adapted it for gpt4all.

It's not useful, because it's very slow and not very smart, but as a proof of concept, why not

239
8

Visual Studio Code is the preferred IDE as far as what users want but Neovim has a higher proportion of users that want to continue using it next year (81% vs 77%).

240
3
241
5

he gives some really nice tips with the the g key, I think u can learn a thing or two from this.

242
9
submitted 3 years ago* (last edited 3 years ago) by kronicmage@lemmy.ca to c/neovim@programming.dev

Just wanted to add some content and encourage discussion :D

I'm a big fan of using Home Manager to manage my Neovim and other dotfiles. It keeps everything in one place, and it's really good at managing non-neovim dependencies like fzf and such. Check out my dotfiles home.nix and nvim folder and tell me what you think!

243
8
submitted 3 years ago* (last edited 3 years ago) by howarddo@programming.dev to c/neovim@programming.dev

If you are like me, chances are you used Neovim for a period of time without knowing the basics. The notion of buffers windows and tabs in Vim is quite different from other IDEs/code editors. I suggest you read through this and this Stackoverflow answer to get some understanding of this matter.

244
9

Saw a link to this while reading another submission and thought it belonged here.

245
5
New Neovim user (student) (programming.dev)

Hi all! I installed nvim and completed the tutorial. I have been using CLion, PyCharm, IntelliJ IDEA, and VSCode. I primarily use an Ubuntu OS. I am open to a different distro.

When I tried to configure VSCode to allow me to use C++, Python, Java, and Assembly on one IDE it became unstable. Can nvim handle that?

Where do I go to figure how to customize this thing? For example, I don't know what I should be installing for basic linting (I'm still a student). Do I need different modules for each language? Any resources would be most appreciated.

Thank you!

246
4

If you find yourself adding a new file with :e but the folder isn't there yet, this is for u

247
2
Hey there (programming.dev)

General Kenobi

Neovim

2935 readers
1 users here now

founded 3 years ago
MODERATORS