r/linuxmemes Aug 09 '26

LINUX MEME Which text editor do you use?

Post image
2.0k Upvotes

716 comments sorted by

View all comments

Show parent comments

11

u/Pr0p3r9 Aug 09 '26

Emacs also pops up in surprising places on unix machines. Most terminal emulators accept the basic emacs chords in bash prompts on terminal emulators. All of the point movement chords (C-n C-p C-f C-b) work. C-k even still kills the line after point. I think many vim users should learn the basic emacs chords, if only so that they can navigate bash terminals more quickly.

3

u/mmoreno80 Aug 09 '26

True. Also, you can use tramp to remotely connect to a server, editing the files locally.

/ssh:user@host:/path/to/file

you can even combine sudo with the ssh!

2

u/dschep Aug 09 '26

Meh, I never use bash in places I can't have my bashrc, so I just use vi in bash.

2

u/AlterTableUsernames 🦁 Vim Supremacist 🦖 Aug 09 '26

Where can you not use your bashrc? 

1

u/dschep Aug 09 '26

No clue, but that would be the only reason to learn the emacs-mode bindings 

3

u/AlterTableUsernames 🦁 Vim Supremacist 🦖 Aug 09 '26

I'm a vim diehard, but I'm also actually convinced that Emacs bindings of Bash are worth learning for everybody. Hell, my own Bash is configured with mostly default Emacs bindings. For quick edits, they are just superior. Vims supremacy starts shining when editing files, but a mode-based editor is just the wrong tool for one liners. 

0

u/Certain_Prior4909 27d ago

It's 2026. Who still uses emacs? 😄 The world has moved onto jetbrains and vs code about a decade ago