News for hackers. Stuff that matters.
Re:How Did Vim Become So Popular? by b5n on Tuesday June 30, 2020 @08:21PM (#23696381)
I'm confused by your workflow. Why are you opening a second Emacs instance?

In Emacs you just C-x C-f /path/to/config, for sudo C-x C-f /sudo::/path/to/config.

Starting location will be home, or the parent of the active file (if the active buffer is an editor).

Re:How Did Vim Become So Popular? by JJMcJ on Sunday July 05, 2020 @07:30PM (#23743112)
TIL about /sudo:: I will look at it further.

For the other it's usually something like

/usr/x/y/z/a/b/c/config.ini

Yeah, I want to type that path into Emacs when I can

    vi config.ini
or

    sudo vi config.ini
and be done in seconds.
Re:How Did Vim Become So Popular? by dnquark on Tuesday June 30, 2020 @09:09PM (#23696672)
tl;dr: terminal -> vim == less context switching

Even though I live in Emacs, I frequently use GP's workflow as well. For me, it's often the fact that I am already working in the terminal when I need to edit the config, so going to Emacs is a context switch. Moreover, I often fist do a cd /path/to/config; once there it's trivial to do vim foo or sudo vim foo.

I have an alias that can send that file to emacsclient -- but again, it takes me away from the terminal, and will not work with sudo.

Also, I've tried possibly every emacs package that helps with path completion, but they all seem to get in the way when I already know exactly what I want. Vanilla bash completion (and don't forget about fzf!!) are a better experience for me; YMMV.

Re:How Did Vim Become So Popular? by b5n on Tuesday June 30, 2020 @09:20PM (#23696728)
That makes sense, if I'm in a terminal I'll just use vim, although I do get a lot of use out of eshell.
Re:How Did Vim Become So Popular? by Scarbutt on Tuesday June 30, 2020 @09:26PM (#23696753)
Run emacs in the terminal too? I use it inside tmux exclusively.