mastodon.tetaneutral.net est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Instance de Mastodon, réseau social de micro-blogging libre et décentralisé hébergée par l'association Tetaneutral.net.

Statistiques du serveur :

149
comptes actifs

#neovim

12 messages10 participants0 message aujourd’hui

I created a crib sheet for the #Helix text editor:

bobulous.org.uk/coding/Helix-c

As usual I intended the new page to be compact and concise; and as usual it ended up being huge and rambling. Hopefully it'll still be of use to people who aren't fully familiar with the most useful keys and commands. (And just maybe of vague interest to #Neovim users who are thinking about trying Helix.)

Let me know if you spot anything incorrect.

www.bobulous.org.ukHelix crib sheetA quick reference for the key bindings and modes used in the multi-modal text editor Helix.

Vim tip for today 🔥

There is a trick in the substitute command `:s` to use an empty search pattern to reuse the previous one. Example!

*
to use the word under the cursor as a search pattern

vap
visaul selection around the paragraph

:s//deno
substitute previous pattern "eslint_d" with "deno"

So many little tricks in this tip today!

Ayé, dans le TGV pour le #tupperVim parisien ce soir ! Ça se passe chez #Moji à Nanterre, de 19h jusque tard. On y parlera #Vim, #Neovim, #CLI

Pour attendre les Vimistes, on a prévu d’apporter nos claviers préférés pour les faire essayer. J’ai emporté mes deux claviers préférés du moment, un #Atreus et un #Keymini.

Il est encore possible de s’inscrire ici :
pad.gresille.org/p/tuppervim-p

pad.gresille.orgGrésille - Pads collaboratifs

So there are these guys who install #Arch and use #vim or #emacs and they think they are powerful #Unix gods. One such being is me myself.

I never had to reboot my computer or close the terminal to quit #neovim

But last night, I was using my #FreeBSD machine. I thought I watch a movie so I installed #mpv and upon starting it, I could not quit. The solution was powering off and rebooting my machine. Devastating, isn't it?

So dear Arch users, or #Gentoo users who think they are really geeky geeks and very brave. Give #BSDs a try :)

#BSD#OpenBSD#FOSS

I think any large interesting program you might write could well have an embedded language within it, in which the user can write stuff that is just as good, and just as deep as built-in functionality. You want this. It’s a thing that makes programs compelling.

In #Vim, that embedded language is #VimScript. In #emacs, that’s #elisp (which in fact, I think the whole thing is written in). In a #smalltalk environment, you control the entire environment with Smalltalk, just as elisp applies to Emacs. For many, many things, that language is #lua ( #NeoVim, many games, #pandoc, #redis, this list goes on).

I used to think there were really two reasonable mainstream languages you could use here: #Python or #javascript. Between those two, for a long time I felt that JavaScript was the winner. I think that has changed as Python has gotten faster, more powerful, and better known. But also, I think the answer might actually not be either of these two. It might be Lua. Lua is simpler and faster than either JavaScript or Python. It’s more embeddable. It’s designed specifically for this purpose. It’s in much wider use as an embedded scripting language. I don’t want Lua to be the answer. I like Python better. But I think Lua actually is the right answer.

'Y' on #neovim is confusing my muscles; traditional vi mixes up two vi concepts; capital command (e.g. D,A,C) work from the current point to the end of the line, while doubled commands (e.g. dd,cc,yy) do the whole line; but on vi 'Y' yanks the whole line, on #vim it's switchable but the default is the vi (and my wrists) behaviour, neovim defaults to the logical 'Y' yanking to the end of the line.

I have a nice set of plugins in #NeoVim. But there are two things I want. I want better autocomplete. I want to have language constructs as text-objects: functions, classes, blocks, context-managers. I especially want this for #Python. I think I want it to use the LSP. I think I also want it for #Rust. For the autocomplete part there are two different things (completely unrelated) that have "coq" in the name. I think the one I want is "coq_nvim". Not sure yet about LSP-driven navigation. I welcome opinions and experiences.