notnorm, to neovim

I'm trying to setup a keymap that saves all my buffers, closes the buffers, and brings up my Alpha dashboard. A clean "reset" of .

So far, I've settled on: :wa|%bd|:Alpha which does exactly what I want. The only caveat that I want to skip is that when I have unsaved buffers, I get a notification at the bottom of my session that requires me to press enter before it closes the buffers and opens the dash.

Any ideas how I can suppress the message?

scy, to neovim
@scy@chaos.social avatar

TIL: In #Neovim, the named colors (e.g. ctermbg=LightGreen) will be mapped to the normal 16 colors, but if your terminal supports 256 colors, they will be mapped to different, undocumented colors in the 256-color range.

arrrrrghhh

scy, to neovim
@scy@chaos.social avatar

TIL: #Neovim will render the 'colorcolumn' even if the line 'wrap'ped.

I can see the reasoning, but I'm not sure whether I agree with the aesthetic.

Also, it's basically lying: The position of the highlight ignores the 'linebreak' setting that's causing the lines to only wrap at word boundaries, which is why all of the highlights are at the same X position.

"framebuffer" looks like it's touching the column, but I can add letters at the end of "Linux" without the highlight position changing.

kimschulz, to vim Danish
@kimschulz@social.data.coop avatar

Neovim Note-Taking: A Lua Adventure

A quick look at 7-line piece of neovim lua code that has changed my workflow quite a bit. Note-taking simplicity at its best.

https://schulz.dk/2024/04/11/neovim-note-taking-a-lua-adventure/

#Code #Vim #linux #lua #neovim

cctechwiz, to php

Anyone have a good config for coding in #php with #laravel in #neovim?

I’ve got intelephense pro working but it keeps trying to reformat the default/generated laravel file formatting and it’s bugging me super bad.

louis, to emacs
@louis@emacs.ch avatar

Haven't used VS Code a single time for over two months now. All Emacs now. Since I switched to LSP mode, Makefiles and Dap.

I think it's time to press the delete button now with confidence.

Congratulations appreciated 🙂

#emacs #vscode

johnhamelink,

@louis It's kinda wild, but I've never used #VSCode! I got onto the #Vim -> #Neovim -> #Spacemacs -> #DoomEmacs -> Vanilla #Emacs train many moons ago. The only thing I thought I'd miss would be VSCode's pairing/collaboration system, but TBH I've never been asked to use it by someone else. I do however use Emacs/Neovim with upterm every now and then (CRDT.el is cool and all, but it's way easier to share an SSH command with someone who's not also an Emacs user). It's not as vital as people make it out to be, although I'm sure I'm preaching to the choir on that point ':D

ReK2, to usenet

https://hispagatos.space/@rek2/112231145240283887 Stop Electron, stop using a browser as if it was an Operating System!!! Go #terminal #cli #TUI use your OS, not the browser for everything! And be liter, more ethical, your computer will love you! Use #Gemini #gopher #usenet #matrix #fediverse on TUI apps #vim #neovim as your text/IDE #mpv for videos and more... !!!

rek2, to usenet
@rek2@hispagatos.space avatar

Stop Electron, stop using a browser as if it was an Operating System!!! Go use your OS, not the browser for everything! And be liter, more ethical, your computer will love you! Use on TUI apps as your text/IDE for videos and more... !!!

image/png

fabianschaar, to vim German
@fabianschaar@social.tchncs.de avatar

Grade den (Neo)Vim-Tutor gemacht. Habe deutlich länger als 30 Minuten damit verbracht, aber egal. :tux: #Vim #Neovim

thelastpsion, to neovim
@thelastpsion@bitbang.social avatar

Thoughts on 3 months of usage (in ):

  • Easy to pick up and read
  • Good libraries
  • Generics
  • No closures
  • Binaries aren't small
  • LSP (pasls) isn't complete, but better than nothing; + really help
  • Docs are frustrating
  • Good forums/community
  • Targets SO MANY platforms (, 32-bit , , , )! More than Rust, Go
  • A lot of historic books and projects

Would I use again? Absolutely yes, without doubt.

gregorni, to neovim
@gregorni@fosstodon.org avatar

So I uninstalled Neovim and switched to Helix full-time. Fingers crossed for my Helix journey! 🤞

lcfd, to neovim
@lcfd@fosstodon.org avatar

I'm having a lot of performance problems in #neovim with a semi old and not that huge Typescript/React project.

I have to use vscode 😅

What could be the reason for those issues?

hyde, to neovim
@hyde@lazybear.social avatar
craftyguy, to neovim
@craftyguy@freeradical.zone avatar

Hmmmm why is #neovim automatically adding DOS line endings to xdg .desktop files, and how do I figure out what is to blame for that...

Joe_0237, to neovim

I see screenshots of that don't even look like a terminal, what is this, how is it possible, is there a package for it?

gregorni, to programming
@gregorni@fosstodon.org avatar

What does your development environment look like right now?

(IDE/Text Editor? Terminal Multiplexer? Package Manager? Shell? Programming Language? Containerization? Command Runner? Terminal Emulator?)

jeremy_list,
@jeremy_list@hachyderm.io avatar

@gregorni
Editor: #neovim or Pe
Multiplexer: still figuring out: only recently realised they're useful.
Package manager: #nixPackageManager / #haikuOS pkgman
Shell: bash (sometimes zsh, never got around to finding out the difference)
Language: #haskell, #rust, #rubylang, #cpp, whatever else tickles my fancy.
Containers: none (most recently docker)
Command runner: don't you mean shell?
Terminal emulator: the default ones from #CinnamonDesktop and #haikuOS

krisajenkins, to neovim
@krisajenkins@mastodon.social avatar

I've been having so much fun writing little extensions for #Neovim that I thought I'd record a walkthrough. 👨‍💻🥳

Here's a guide to making it talk to #Docker, or any command-line tool that speaks JSON:

https://youtu.be/HXABdG3xJW4

gregorni, to programming
@gregorni@fosstodon.org avatar

I'm interested in seeing where Helix will go in the future.

#Helix #HelixEditor #ModalEditor #Programming #SoftwareDevelopment #Keybindings #Coding #WritingCode

vinbiodiesel,

@gregorni I just found out about #helixeditor and will give it a try. Seems a little more accessible than #vim #neovim
What are your thoughts on helix? Especially in comparison to neovim?

lobocode, to emacs

I've been studying #Emacs for a while now. My conclusion, so far (keeping in mind that I've been using #Vim / #Neovim for over 10 years), is that a strong reason to switch from one to the other would be an affinity for wanting to study elisp/lisp, including modern lisp languages like #clojure

I say this because Emacs is pure elisp, and it is, in fact, an incredibly powerful language... absurdly so, actually.

++

lobocode,

To put it in context, #NeoVim
was created as an alternative to make Vim better by improving its usability and making it more extensible.

At most, what you'll find in terms of Emacs distributions are options like umacs (the version that Linus Torvalds uses, which is more streamlined) or something like #spacemacs (the opposite of Emacs/umacs, which comes with everything included), that is, a super Emacs package. ++

gvrooyen, to neovim
@gvrooyen@c.im avatar

It took me a bit of fiddling around to figure out why my language server setup didn't play nicely with . I manage my language configs with the excellent Mason (which has deprecated Gleam support that worked for me for a while).

Turns out Mason isn't currently compatible with a language like Gleam where the LSP is part and parcel of the toolchain – see @lpil's explanation: https://github.com/mason-org/mason-registry/pull/3872

The solution is to simply manually add Gleam in your init.lua's "lspconfig": https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gleam

Must say, I love Gleam's compiler and language server diagnostics: It feels so kind and helpful 😁

dpom, to neovim
@dpom@fosstodon.org avatar

So Neorg has moved exclusively to LuaRocks for installation. I wonder if this is the general direction of Neovim packages, or if this is just an outlier? I’m very hesitant to switch, as I’ve only just gotten used to Lazy.

#neovim #lua

nixCraft, to linux
@nixCraft@mastodon.social avatar

Of course, a well-crafted .vimrc is critical. How else would you maintain that aura of superiority vital for deflecting questions from less-enlightened coworkers? Everyone knows you must have a perfect Vim configuration file before writing any production code. #unix #linux #vim #neovim #opensource

fabi1cazenave, to vim French
@fabi1cazenave@mastodon.social avatar

En route pour l’atelier #tupperVim de ce soir chez #Orus, rue de Turbigo à Paris. Une tradition de plus de 10 ans qui dure grâce au sérieux des participants, et je me dois de montrer l’exemple :

  • diaporama : nope
  • config à jour : même pas
  • sujet d’intervention : à réfléchir dans le TGV
  • CV, cartes de visite : pour quoi faire !?
  • Côtes du Rhône : check
  • saucisson artisanal : check

L’entrée est libre, et j’y proposerai une initiation #Vim en première heure. Viendez nombreuses et nombreux !

fabi1cazenave,
@fabi1cazenave@mastodon.social avatar

Pour qui ne connaîtrait pas encore nos ateliers #tupperVim : on y parle de #Vim (no shit, Sherlock ?), de #Neovim (<3), mais aussi de #Kakoune, d’#Helix ou même d’#Emacs (coucou @ThierryStoehr !), et plus généralement de tous les outils cools qui tournent dans un terminal — le tout, dans un cadre convivial.

(Ne pas assister à ce genre d’événement est une faute de goût.)

chiborg, to vim

I never thought I'd write a Vim plugin, but working on an ever-growing CSS file that can't be split has made me creative. With https://github.com/gbirke/telescope-foldmarkers.nvim I can now use the excellent Telescope extension to jump between sections in my file where I have put fold markers. A table of contents for an otherwise unstructured file!
#Vim #neovim #telescope

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