med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

373
active users

#vim

13 posts11 participants0 posts today
Continued thread

Just helped the little kiddo set up Baby's First .Vimrc. 🙂

Edit: Now they are announcing to the household, "No one can stop me! I have Vim working! I have the power of Vim and cuteness!"

Seriously. I am not making this up.

Was about to junk a laptop that was nearly 20 years old cause I thought it didn't work. Then I thought, I'll power it up once more just to be sure.

Turns out the battery is dead, the power cord port has a loose connection, and Linux Mint could no longer update on the machine. But it works! I slapped MX Linux on it and gave it to my youngest, who has been messing with vimtutor since.

I enjoyed this article on #vim #minimalism, even though it's a bit too extreme for my taste. I too try to keep my setup as lean and use as much built-in functionality as possible. But I still think syntax highlighting and LSPs are genuinely useful. #LSP feedback should be entirely on-demand of course. And compiling commits with #fugitive is just so much faster and more flexible than with the #git #cli. But apart from that… right on!

yobibyte.github.io/vim.html

yobibyte.github.ioVim Setup

[Annonce] Vous voulez entendre parler de awk, de sed ou de ed ? Ce ne sera pas a priori le sujet principal, mais se sont des outils au #format texte, la surpuissante ligne de commande (#CLI)... comme l'éditeur #Vim et #Neovim avec la rencontre #TupperVim annoncée ce 18 juillet matin pour le 21 soir (c'est le #format « comme il se doit, à l'arrache » sic), par le grand-maître @fabi1cazenave à framapiaf.org/deck/@fabi1cazen
NB important : c'est en exclusivité à... Grenoble, en chair & en os (no-visio !).

framapiaf.orgFramapiaf

Vimistes de #Grenoble, oyez ! Ce lundi 21/07, donc totalement à l’arrache (comme il se doit), aura lieu un #tupperVim à la @TurbineCoop.

On va parler de #Vim, #Neovim, #CLI, et toutes ces sortes de choses. Et possiblement du #Quacken, vite fait.

Idéalement, inscrivez-vous sur le lien Meetup, ça fera plaisir à l’inusable Julio ! Mais vous pouvez aussi vous pointer à l’arrache, vous serez toujours bienvenu·e. 🙂

meetup.com/tupperlibre/events/

MeetupTupperVim, Mon, Jul 21, 2025, 7:00 PM | MeetupMerci de vous inscrire également sur [https://pad.gresille.org/p/tuppervim-grenoble-2025-07-21](https://pad.gresille.org/p/tuppervim-grenoble-2025-07-21) et y indiquer quel

To prevent git from finishing the current commit/operation, you can use :cq in vim to exit with a non-zero status.

(generally, exiting the editor without saving the buffer (:q!) also works, but that is equivalent to providing an empty message, which may be allowed in some scenarios)

#git#vim#linux

I predict we'll see a nvim fork called 'nvimo'—here's my reasoning:

If we look at vi -> vim -> nvim,
1. we add letters in alphabetical order: first 'm' added to 'vi', then 'n' added to 'vim'
2. we alternate adding letters before and after: 'm' to the end of 'vi', then 'n' to the beginning of 'vim'

Thus, adding 'o' at the end is logically next

Vim users:

Do you use vi mode in your shell (bash, zsh, fish, etc.), the default bash mode, or something else?

#vim#vi#bash

I wanted to edit some work files in Vim, but in doing so realized that Vim uses straight quotes and apostrophes instead of curly ones (which I needed given the constraints of this project). I added the following to vimrc to make this feasible (note that I have vimwiki installed, so Vim id'd the markdown file I was editing as a vw file):

augroup vimrc_vimwiki
au!
au FileType vimwiki inoremap ' ’
au FileType vimwiki inoremap <leader>' ‘
au FileType vimwiki inoremap <leader>" “
au FileType vimwiki inoremap " ”
augroup END

Voila'! Typing a quote converts it to a closing curly quote; adding the Leader key makes it an opening curly quote!