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

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

Some years ago, I forked the #helix editor and started adding some VIM keybindings to it. Now, some keybindings and a modeline later, I‘m excited to share #evilhelix 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 #Vim (et #Neovim, #Kakoune, #Helix…) 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

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 ❤️

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

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

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

n3wjack, to vim
@n3wjack@mastodon.social avatar

Is the 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 9.0.1378 and 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 #Vim

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

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

Est-ce que certains d'entre vous ont déjà testé #helix https://helix-editor.com/ avec un layout #bepo ? Des retours d'expérience ? Des configs à partager ?

Martoni,
@Martoni@piaille.fr avatar

@ploum @vjousse Intéressé également.
et team ;)

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 #Netrw (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.

#Vim #Neovim

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/

#neovim #vim #texteditor

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

#introduction / #reintroduction

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 #agender, into #polyamory, #opensource software, #gamedev, #cooking, #traveling, #vim, #blender, #ruby, #drawing, #tokipona, #japan, #math, #science, 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.

hgrsd, to rust
@hgrsd@hachyderm.io avatar

Which IDE do you use for Rust development?

I've been moving between neovim, helix (can't get over the slightly different mental model compared to vim), vscode, rustrover... Curious what others use.

#rustlang #rust

nehu,
@nehu@mastodon.cloud avatar

@hgrsd I found it easier to hack on #helix than manage #neovim plugins, so I brought some #vim keybindings to Helix. My „soft fork“ is still young, but the idea works (https://github.com/usagi-flow/helix); been using it productively for quite a while.

nemo, to vim
@nemo@mas.to avatar
Lioh, to linux German
@Lioh@social.anoxinon.de avatar

How to exit Vim on Linux. The ultimate tutorial ;)

video/mp4

cms, to guix
@cms@social.lol avatar

Well I ran out of battery halfway through the hand install, so several hours of recovery later I can boot into fsvo. Where are all my other bootable partitions though, and will I be able to tolerate long enough to learn to live with it? These are the questions. Stay tuned, rat-fans.

cms,
@cms@social.lol avatar

Now I have put my config.scm in a git controlled source directory under ~cms , and made /etc/config.scm a symlink to that

and I can edit the scheme using a (so far vanilla) , which is slightly easier on the brain for things like indents

ngl though % in is mad good for parens counting

all the icons are busted since the last generation though .

I think my next step is to replace GNOME with something I can drive a bit better.

bentoh, to vscode
@bentoh@mastodon.online avatar

So over the past year I have been using #vscode for my #rstats and #python work. my workplace is trying to move to a unified IDE, and vscode allows remote access and WSL integration for free. However, so far it fails to spark joy in me like #RStudio (despite lack of #vim mode) and #PyCharm do. Everything feels clunky, and subpar. The "intelligent" and linting things are also quite broken in R... Has there been extensions that fundamentally change the vscode experience that I should be trying?

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