this post was submitted on 20 Apr 2025
16 points (90.0% liked)

Linux

53368 readers
948 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

macOS has a bunch of apps which can do so, including SketchyVim. Basically you would have all the vim modes motions and operators, inside any text box in the OS / in any app. I just did some looking up and asked LLMs, but didn't find any linux equivalents of that. Ideally they would work on wayland and have app or window class exceptions.

top 6 comments
sorted by: hot top controversial new old
[–] PushButton@lemmy.world 3 points 1 day ago (2 children)

If I remember correctly, Wayland forbids to listen to keyboard inputs for security reasons. Each software receives its input, but there is no global listening.

So, in my understanding, this could mean that it's not possible.

[–] priapus@sh.itjust.works 4 points 1 day ago (1 children)

Wayland supports global shortcuts using the global shortcuts portal, so it should be possible. There's an app called espanso that automatically expands text on Wayland, I imagine similar methods could be used for this.

[–] PushButton@lemmy.world 1 points 1 day ago

I didn't know about global shortcut portal, that's interesting.

Thank you for your input, I've learned something today.

[–] ReakDuck@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

For X11 it could be possible. And Implementing it into the Compositor could be possible too

[–] TabbsTheBat@pawb.social 6 points 2 days ago

https://github.com/cknadler/vim-anywhere

The closest thing I could find that isn't MacOS was this

[–] priapus@sh.itjust.works 2 points 1 day ago

It looks like this works by following accessibility standards. I'm not sure if an accessibility standard for input fields on Linux, but if it does it should be possible.