News for hackers. Stuff that matters.
Re:Mastering Emacs by j7ake on Wednesday August 23, 2023 @02:31AM (#37232485)
Systems admin people who deal with computing clusters often use vim.
Re:Mastering Emacs by goku12 on Wednesday August 23, 2023 @03:15AM (#37232780)
The availability of vim in some systems is not reliable. Often only either vi or nano is available. Containers may not have even that (not that it's a good practice to edit files inside containers. It's just for experiments). Emacs meanwhile, has tramp. It lets you edit files remotely and transparently - even inside Kubernetes pods. And you still get to use all your Emacs customization.
Re:Mastering Emacs by j7ake on Wednesday August 23, 2023 @03:18AM (#37232799)
Someone who uses vim daily will surely not struggle with vi.
Re:Mastering Emacs by goku12 on Wednesday August 23, 2023 @03:37AM (#37232894)
You are right about that. What you will miss though, are the plugins and customization while making big edits.
Re:Mastering Emacs by allarm on Wednesday August 23, 2023 @03:50AM (#37233001)
Never missed that on the remote systems. The out of the box vi/vim is powerful enough for most things.
Re:Mastering Emacs by tmtvl on Wednesday August 23, 2023 @04:53AM (#37233417)
You say that, I remember when my team lead was managing a Solaris box and he asked me to take a look as Vim was not working correctly. So I moseyed over and turns out it was Vi instead of Vim. He got confused by c$ not deleting everything to the end of the line.
Re:Mastering Emacs by grymoire1 on Wednesday August 23, 2023 @08:14AM (#37234682)
I would ssh into remote systems, start emacs as my first command, and do everything inside of that emacs window - editing (scripts, config files, code), running shell scripts and programs, reading man pages, executing make, compiling, etc.)

Others would use tramp mode, and open multiple remote sessions within a single emacs. This makes it easy to cut and paste between systems.