n3wjack, to vim
@n3wjack@mastodon.social avatar

My Vim plugin manager broke, so I switched to a new one. Find out how that excitingly geeky adventure unfolded! 😁

https://n3wjack.net/2024/06/05/vim-switching-from-vundle-to-the-minpac-plugin-manager/

#geek #vim

pludikovsky, to Matrix
@pludikovsky@chaos.social avatar

Testing iamb¹ as #Matrix client. Seems to scratch my itch for an experience a la #irssi but without needing an #IRC bridge or similar.

Bonus points for being written in #Rust, #vim keybindings, and being able to display images in (supported) terminals.

¹ https://iamb.chat/

vjousse, to vim French
@vjousse@mamot.fr avatar

After the French version, I've updated the English version of my book about too.
You can find it here: https://vimebook.com/en

The github code is here https://github.com/vjousse/vim-for-humans-book/ and the tagged release here https://github.com/vjousse/vim-for-humans-book/releases/tag/v2.0
Don't hesitate if you have any feedback!

And of course, share the love ❤️

nithinbekal, to vim
@nithinbekal@ruby.social avatar

As of this month, it's been 10 years since I switched to vim. Some reflections on what has changed in how I use vim over the decade:

https://nithinbekal.com/posts/decade-of-vim/

astro_ray, to typst
@astro_ray@misskey-square.net avatar

Is there any developer out there who is working on #GTK4/#libadwaita GUI editor for typesetting documents in #latex/#typst. As much as I love them, modal editors like #vim/#helix are not for me.

vjousse, to vim French
@vjousse@mamot.fr avatar

Aussi improbable que cela puisse paraître, j'ai mis à jour mon livre sur 12 ans après 😅 https://vimebook.com/fr
Le contenu reste sensiblement le même, j'ai juste refait tous les screenshots, vérifié tous les liens, utilisé vim-plug au lieu de pathogen, fzf au lieu de ctrlp, vim-fern au lieu de TheNerdTree. Bref, c'est pareil, mais en mieux. Reste la version anglaise à mettre à jour, puis passer à l'écriture du prochain sur !
Merci pour tous les retours que j'ai eu ici ❤️

VimLinks, to vim
@VimLinks@hachyderm.io avatar

When doing an interactive rebase in git, it can be very convenient to see the contents of the individual commits: https://github.com/hotwatermorning/auto-git-diff

#vim #git

video/mp4

nehu, to rust German
@nehu@mastodon.cloud avatar

A super fast, advanced modal editor/IDE, written in and with keybindings. How does that sound?

Some years ago, I forked the editor and started adding some VIM keybindings to it. Now, some keybindings and a modeline later, I‘m excited to share with you, looking forward to your feedback!

https://github.com/usagi-flow/evil-helix

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

Ce samedi 25 mai je proposerai deux interventions sur (et , , …) aux @jdll :

• de 10h à 11h, une conférence « ergonomie vimiste » pour découvrir ou approfondir l’ergonomie des éditeurs modaux (tous niveaux) ;
• de 16h à 18h, un atelier « tupperVim » pour partager des connaissances sur nos éditeurs préférés (niveaux débrouillés / confirmés / experts).

Ça se passe à l’ENS Lyon, viendez nombreuses et nombreux !
https://pretalx.jdll.org/jdll2024/talk/NM7E3T/

mjgardner, to emacs
@mjgardner@social.sdf.org avatar

This is what I hear in my head if I switch back to or .

source: https://mastodon.social/@workchronicles/112372770022713839

vjousse, to vim French
@vjousse@mamot.fr avatar

I'm about to update my book on but as I am now mostly using , I'm a little bit outdated about plugin management. What would you recommend instead of pathogen (for vim, not for neovim)?

n3wjack, to vim
@n3wjack@mastodon.social avatar

Is the #Vim plugin manager Vundle broken?
When I use :PluginSearch I get a bunch of errors now.

scy, to vim
@scy@chaos.social avatar

There are days when I'd like to throw Vim at the wall.

:set stl=%f%{&modified?'\ •':''}

will have a status line like

README.md •

with the bullet point (•) if the file is modified.

:set stl=%{fnamemodify(expand('%%:p'),':~:.')}%{&modified?'\ •':''}

will eat the space before the bullet point for some reason.

All I did is replace %f with the %{…} expression.

This happens both in #Vim 9.0.1378 and #Neovim 0.7.2, and also if I replace • with any other character.

Ideas, anyone?

scy, to vim
@scy@chaos.social avatar

guilty of sprinkling Makefiles in a lot of projects and sub-projects, just so I can :make in

aburka, to vim
@aburka@hachyderm.io avatar

and chose opposite conventions for the meaning of "vertical" and "horizontal" splits and it will be the death of me

conorh, to random
@conorh@mastodon.sdf.org avatar

During lunch a friend mentioned that you can just supply a HTTP URL to vim on the command line and it would use curl to download that resource and allow you to edit the content. I jokingly asked whether if you enter :w it would then issue a HTTP POST back to the origin which is of course ridiculous.

It issues a PUT

unixwitch,
@unixwitch@social.tchncs.de avatar

@conorh
Other protocols are also possible, e.g. you can edit files via scp

vim scp://user@remoteserver.example.org//home/user/remotefile.txt

#vim #ssh #scp

shalien, to vim French
@shalien@projetretro.io avatar

If you think using / is a required skill for being a we can't be friend.

nixCraft, to linux
@nixCraft@mastodon.social avatar
scy, to vim
@scy@chaos.social avatar

(and ) will trigger au FileType netrw autocommands, as well as commands in after/ftplugin/netrw.vim when

• selecting a directory in a buffer
• selecting a file in a Netrw buffer (i.e. when leaving Netrw)

but not when first entering Netrw, e.g. by calling :Explore

Even though :set ft? will display 'netrw' no problem.

What the fuck?! I'm at a loss here, any hints greatly appreciated. :BoostOK:

Reproduce by doing

• nvim --clean
• :au FileType netrw echo 'netrw'
• :e .

scy, to vim
@scy@chaos.social avatar

With the minus key being the default (and oil.nvim) shortcut for "change into parent directory", TJ DeVries suggested to globally (i.e. in normal edit buffers) map minus to "open Netrw (or oil) in the current window", and I think that's really clever.

Like, <CR> moves down into a directory or file, and - moves up into the parent directory – either of the directory you're currently browsing, or the file you're currently editing. Like a global "zoom out" key.

linuxiac, to neovim
@linuxiac@mastodon.social avatar

Neovim 0.10 terminal text editor brings a fresh default color scheme, built-in commenting, major Terminal UI enhancements, and more.
https://linuxiac.com/neovim-0-10-terminal-text-editor/

thet, to vim
@thet@graz.social avatar

tip of the day: to replace text wrapping around some other, you can use regex groups and backreferences like this:

:%s/some(.*)text/other\1string/gc

For example:

Screencast of a regex replacement in vim with groups and backreferences.

blinry, to opensource
@blinry@chaos.social avatar

/

Hey, I'm blinry! I create digital tools and games, and digital art. I mostly use Mastodon to share my joy about things I learn or create. Welcome, everyone! :)

I love my communities: the Chaos community, Jugend Hackt, the Recurse Center.

I'm , into , software, , , , , , , , , , , , all things visual!

I'm curious and want to learn & try everything! ☺️

scy, to vim
@scy@chaos.social avatar

Instead of simply failing, my will now ask to create parent directories, if they don't exist, before saving a file.

https://codeberg.org/scy/dotfiles/src/commit/d3f843e5f674cef8572c51d45c41c3ec1f2f7b6c/.vim/plugin/mkdir-on-save.vim

al3x, to vim
@al3x@hachyderm.io avatar

Productivity increases with the level of customization you are making in the tools you are using most often.

The downside is that the more used to these customizations you get, the more lost you'll feel when
using a system that is not configured as yours.

Simple example: create a new binding in or . This is not only very common but
also very encouraged. After getting used to that, connect to a remote server.

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