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 #neovim.
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.
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.
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.
@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
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... !!!
@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
@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?
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.
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. ++
It took me a bit of fiddling around to figure out why my #neovim language server setup didn't play nicely with #gleam. I manage my language configs with the excellent Mason (which has deprecated Gleam support that worked for me for a while).
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.
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
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 !
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.)
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