neovim

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

mac, in Plugin UI
@mac@infosec.pub avatar

Only for installing and updating, it’s honestly not really feasible for instance plugins via a UI due to the configuration being inlined with the plugin declaration. It’s not too bad once you get used to it.

Slotos, in Help with custom theming

github.com/rose-pine/neovim/wiki/Recipes#borderle…

Specifics will differ based on your colorscheme, but the end goal is always the same - set telescope border colors to blend with the rest of the telescope ui.

mac, in !neovim@sopuli.xyz looking for moderators
@mac@infosec.pub avatar

I’d be happy to help out!

Dirk, in Plugin UI
@Dirk@lemmy.ml avatar

After adding the plugin you can manage (enable, disable, update, etc.) it using the lazy.nvim plugin manager.

skipperwannabe, in It's LSP portable?

LSP maybe portable with it’s config if the LSP themselves are independent. Checkout Mason which seems to make it easier to bundle neovim and “portable” LSP. There was another project similar to Mason with some more features, but I forgot it’s name. So search around to see if that fits your requirements.

dafunkkk,

will take a look, Thanks

dafunkkk,

tried but once trying to install LSP it give an error npm executable not found

tun, in It's LSP portable?

How about dockerrized neovim?

dafunkkk,

docker is not available on closed system where I want to port neovim in

MusicPiano, in What's your keymapping organization strategy

I use legendary.nvim to organize all my keybindings

ptrckstr, in What's your keymapping organization strategy

I’ve kept everything at default as well. The two main ones I added are Ctrl+s to save, and qq to quickly close a buffer.

lung, in What's your keymapping organization strategy
@lung@lemmy.world avatar

Just use the NeoVim defaults and then if something is bothering you or missing, rebind it. Most of the defaults have been totally legit for decades, and everyone speaks in terms of them. At the end of the day, your job is to build muscle memory one way or another

But yeah rebind caps to esc at the OS level

mac,
@mac@infosec.pub avatar

I’ve bound it to esc when tapped and ctrl when held, no more bending my pinky or thumb in half in an attempt to press ctrl.

nothendev, in !neovim@sopuli.xyz looking for moderators

hey! I’m more than willing to devote some of my free time to help more here. If any of the mods here want to have a chat with me, please reach out in DMs.

lckdscl, in How to use env variables inside which-key plugin mapping? [SOLVED]
@lckdscl@whiskers.bim.boats avatar

Vimscript: “Telescope grep_string search_dirs=[”$HOME/.config"]"

Lua: require(“telescope.builtin”).grep_string({ search_dirs = { os.get_env(“HOME”) … “/.config” } })

dafunkkk,

tried this but still not woking (tried with and without … )

s = { “Telescope grep_string search_dirs={os.get_env(“prj_path”) … “/dir1/dir2/dir3/”} cr>”, “Grep on dir3” }

what’s wrong?

lckdscl,
@lckdscl@whiskers.bim.boats avatar

You’re mixing Lua with Vimscript, the stuff with in double quotes should be in Vimscript

s = { “Telescope grep_string search_dirs=[‘$prj_path/dir1/dir2/dir3/’] cr>”, “Grep on dir3” }

dafunkkk,

I’m very sorry, but I don’t understad how should I do for let it work in lua (I’m using init.vim but this part is under lua << EOF)

dafunkkk,

ok, got it


<span style="color:#323232;">  s = { "Telescope grep_string search_dirs=['$prj_path/dir1/dir2/dir3/']", "Grep on dir3" },
</span>

this works…many Thanks!!!

nicolas,

@dafunkkk @lckdscl I would advise you to either read neovim’s lua guides:
https://neovim.io/doc/user/lua.html
https://neovim.io/doc/user/lua-guide.html#lua-guide
or have a look at some video tutorials, e.g. https://www.youtube.com/watch?v=w7i4amO_zaE&list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R&index=6
If you really want to build your own neovim configuration, you will need to get comfortable with lua.

dafunkkk,

yeah, just asking here for quick solutions (don’t want to spend tons of time reading all the guides)

yads, in This week in NeoVim - #56

Native snippet API sounds like it has some promise

Makussu, in PSA: modicator.nvim now has lualine.nvim support out of the box

Super cool! Thank you for the little preview!

naught, in none-ls - A community fork of the archived null-ls

It is a drop in replacement. Don’t even have to change references to null-ls in your cfg other than the package name for install 👍

humdrumgentleman, in Neovim &amp; Asciidoc &amp; Webbrowser Combination

Prescript: I am by no means a programmer, and input to follow is likely useless.

Have you looked at Markdown plugins that otherwise align with what you are looking for to see if there are usable approaches to be adopted? Or maybe even contribute a PR to one of those projects for Asciioc support?

In any case, I recently fell in love with Asciioc and selfishly hope you are successful!

cloudwanderer,

I had a similar idea, however i haven’t seen a markdown plugin, that is well maintained and at the same time simple enough, so that the core, in this case markdown, can easily be replaced with a completely different engine, asciidoctor.

Any recommendations for that?

I also thought about changing neorg, but the missing support for treesitter is a k.o. for asciidoc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • neovim@sopuli.xyz
  • kavyap
  • thenastyranch
  • cubers
  • ethstaker
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • GTA5RPClips
  • JUstTest
  • khanakhh
  • normalnudes
  • osvaldo12
  • cisconetworking
  • provamag3
  • Durango
  • tacticalgear
  • modclub
  • Leos
  • megavids
  • tester
  • anitta
  • lostlight
  • All magazines