collapse_already,

Pretty basic, but I like setting backupdir and directory so I don’t have to add vim undo and swap files to my .gitignore. Also, noerrorbells because sounds irritate me and I frequently intentionally do things that would trigger them.

rasensprenger,

vim-surround is an essential plugin for me

russjr08, (edited )

I quite like the relativenumber option (paired with the number option), because I’m terrible at being able to use numbered motions without it.

I’m not sure what my favorite plugin would be (so many to choose from!), but my favorite Neovim color scheme has been “GitHub Dark Tritanopia” from the github-nvim-theme package.

Oh, and for another favorite tweak of mine, I always have vnoremap $ g_ set so that using $ doesn’t copy the new line character.

programmer_belch,
@programmer_belch@lemmy.dbzer0.com avatar

I have muscle memory that makes me press C-s after every escape so I just make it save document like other text editors

nmap :w

Vorthas,

I always like to remap Y to yank from current position to end of line, so it works just like D.

nnoremap Y y$

sbv,

I use vim as a log viewer. First thing I do is copy my homemade syntax files onto the host. chefskiss.gif

XTL,

Neovim with no plugins.

Ladas552,

Default line wraping with this options:

opt.linebreak = true

opt.breakindent = true

Makes writing and reading notes a lot better. Don’t know about coding tho, some people don’t like it but for me it’s a killer feature.

hai, (edited )
@hai@lemmy.ml avatar

I’ll go first: For me incrementing search is a must-have.

Vim script:


<span style="color:#323232;">set incsearch
</span>

Lua:


<span style="color:#323232;">vim.opt.incsearch </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#0086b3;">true
</span>

Edit: Typo

walthervonstolzing,
@walthervonstolzing@lemmy.ml avatar

That was a typo though, wasn’t it? Bcs I’m not ruling out the possibility that there’s an FBI plugin for neovim nowadays.

hai,
@hai@lemmy.ml avatar

Ha! Good catch, that’s my bad. Thanks btw.

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