this post was submitted on 13 Nov 2023
1 points (100.0% liked)

Emacs

313 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I'm looking for something that would make my coding more bearable.

Currently I'm using neovim plugin in VSCode, but Vim have bad support for mouse, like it's really weird, when I select text, I needed to setup in VSCode for it to pass to neovim, just so neovim could see it as visual selection. And if I give up on selection, I can't just select anywhere on text, to get rid of selection (like in normal editors), but need to Esc, or else, it would jump to place in text where I clicked.

But tried getting into emacs, just for the sake of better mouse support, but I'm not sure, if emacs is like Vim or not ? Like, I could see, it uses M- (Alt) and C- (ctrl) key.

Problem, is that it's inacesible for me to use those keys, like, I'm relying on touch typing, and typing Alt or ctrl everytime when I need to do something in emacs, would slow me down, and it would make touch typing super hard.

Alt key, is close to space, but it will cause me a lot of strain on fingers and cause RSI.

That's reason why I stayed with Vim, but also, wondered, if Emacs, can be like Vim, at least basic motions , moving etc. I don't use Vim that advanced anyways, just do basic motions, and stuff, and it greatly improves my work. But still, mouse support is major problem, that alone, completely slows down my coding. But yet, don't know what alternative I would have.

I heard about evil-mode, or spacemacs, but I don't like idea, that someone else remapped keys, their way. And also tried getting into emacs once, and got confused when trying to change configuration, like, everyone mentions, that I need to code some functions in some Lisp language (new for me), in order to have keybinding change or stuff.

Like, I haven't ever used VimScript, just need it for motions and a few plugins that helps with moving in file.

top 4 comments
sorted by: hot top controversial new old
[–] TheHolyChecksum@infosec.pub 1 points 1 year ago

I feel like I'm having a stroke reading this.

Look into Spacemacs or Doom. Emacs with Vim key bindings.

[–] radian_@alien.top 1 points 1 year ago

emacs can't just be plugged into VScode how Neovim is afaik.

[–] sleekelite@alien.top 1 points 1 year ago

emacs can be configured to use vi-style keybindings, see evil-mode. doom emacs and spacemacs do that by default, if you want a pre-done thing.

Alt key, is close to space, but it will cause me a lot of strain on fingers and cause RSI.

alt is hit with the thumb and everyone makes control be capslock or escape or whatever.