Earlier quoted context omitted.
You use it wrong. You're supposed to keep your local emacs running and use tramp to login to the remote server. That way you still have your emacs config with you and don't have to load it again. What vim users don't seem to understand is: I never restart emacs. Mine stays running for weeks, even months at a time. When I change my emacs config I just run the code. I don't restart emacs.
You understate how great tramp is. It is what allows me to simply not care whether a file system is local or remote. They all behave like local file systems under tramp.
Where Vim Came From
101–110 of 265 posts
Re: Where Vim Came From
#102Earlier quoted context omitted.
I'm always kind of curious about comments like this -- it seems everybody knows you have to play games of Twister and hit twelve control keys simultaneously to do even the most basic things in Emacs. But... I use Emacs. I've been using it for almost twenty years. And I'm struggling to think of anything I use regularly the involves hitting more than two total keys simultaneously (keys pressed in sequence obviously don…
> Do people genuinely run into cases where they frequently have to be hitting 3+ keys simultaneously to use Emacs? Paredit mode has several useful ones for writing elisp. - C-M-f, C-M-b, and C-M-u (forward-sexp, back-sexp, and up-sexp) - C-( and C-) (barf and slurp commands) - C-M-k (kill-sexp) M-: (eval-expression in the minibuffer) is also a frequent command for me. I've overlaid several keys in the number row with…
Re: Where Vim Came From
#103Earlier quoted context omitted.
Very difficult to do with free software and completely irrelevant really. At some point in your life it's OK to accept that you're the weird one. We're the weird ones. Donald Knuth, Richard Stallman, Guido van Rossum, Rich Hickey et al are the weird ones. I don't know why emacs is such a barrier to everyone else or why vim is so attractive. But I don't understand most other humans about most things.
As someone who came into all this "after" the editor wars and is now using Vim, these were what I understood were their selling points: - In Vim, you learn how shortcuts work and how they compose, and then you can apply them to a bunch of new situations and "guess" which other shortcuts apply. - Emacs can do a whole lot and you can customise it exactly to your liking. Oh, and it also supposedly works really well with…
Most Emacs users don't use it for lisp (aside from programming the editor if needed).
Re: Where Vim Came From
#104Earlier quoted context omitted.
Very difficult to do with free software and completely irrelevant really. At some point in your life it's OK to accept that you're the weird one. We're the weird ones. Donald Knuth, Richard Stallman, Guido van Rossum, Rich Hickey et al are the weird ones. I don't know why emacs is such a barrier to everyone else or why vim is so attractive. But I don't understand most other humans about most things.
I once used emacs. I still do from time to time. But it's too complicated for its own good. Vim works pretty well. It's simple enough to get by. But these days, I usually only use it for viewing mode. And maybe for some light editing. For anything more complicated, then I just shell into the server, and open the file in a full featured text editor.
Re: Where Vim Came From
#105Earlier quoted context omitted.
Relatedly, the emacs users I’ve met were 10+ years older than me (so far). Also, a huge number of other editors have vim keybindings as an option or plugin: intellij, eclipse, visual studio - the list goes on forever...
The funny thing is, emacs has the most compatible vi mode and they call it the evil-mode. Happy user for many years.
Re: Where Vim Came From
#106Earlier quoted context omitted.
I'm always kind of curious about comments like this -- it seems everybody knows you have to play games of Twister and hit twelve control keys simultaneously to do even the most basic things in Emacs. But... I use Emacs. I've been using it for almost twenty years. And I'm struggling to think of anything I use regularly the involves hitting more than two total keys simultaneously (keys pressed in sequence obviously don…
> And I'm struggling to think of anything I use regularly the involves hitting more than two total keys simultaneously One I can think of is M-! (shell-command). I'm a vim user, and I frequently use the corresponding :r !some_command to read output from a shell command into the vim buffer.
Re: Where Vim Came From
#107This is a great historical trace / origin story. And now it all makes sense. But I'm a little disappointed. As someone who came to vim from the world of Notepad / Wordpad / WordPerfect / Word, vim, when I finally learned how to be productive in it, seemed so revolutionary and amazing. I sort of was hoping for a story that justified this feeling, like "Bram had a dream one night where alien greys appeared to him and t…
The history is documented here: http://landoflisp.com/ (scroll down and follow the arrows).
Re: Where Vim Came From
#108Earlier quoted context omitted.
I once used emacs. I still do from time to time. But it's too complicated for its own good. Vim works pretty well. It's simple enough to get by. But these days, I usually only use it for viewing mode. And maybe for some light editing. For anything more complicated, then I just shell into the server, and open the file in a full featured text editor.
Emacs has Tramp, so you can open and edit the remote file right on your computer and emacs takes care of shelling into the server in the background and applying your edits.
Whilst I'm happy to use plain Vim it can be useful if you've customised your own set up and don't want to port it to each server.
For those interest in how use raw Vim as a "fully featured" editor I'd recommend Drew Neil's book,
https://pragprog.com/book/dnvim2/practical-vim-second-editio...
Re: Where Vim Came From
#109Earlier quoted context omitted.
Very difficult to do with free software and completely irrelevant really. At some point in your life it's OK to accept that you're the weird one. We're the weird ones. Donald Knuth, Richard Stallman, Guido van Rossum, Rich Hickey et al are the weird ones. I don't know why emacs is such a barrier to everyone else or why vim is so attractive. But I don't understand most other humans about most things.
Vim is attractive to many because it launches in a fraction of a second. This is especially important to sysadmins, who don't "live in a text editor." It's also quite popular to use vim without customization. I understand that some people have simple needs. I don't. The editor wars are over for me and Emacs has won.
(And, secondarily, launch times then were longer; 0.2 seconds vim vs. 2 seconds emacs is a very different comparison than between 2-second vim and 20-second emacs.)
Re: Where Vim Came From
#110Earlier quoted context omitted.
I once used emacs. I still do from time to time. But it's too complicated for its own good. Vim works pretty well. It's simple enough to get by. But these days, I usually only use it for viewing mode. And maybe for some light editing. For anything more complicated, then I just shell into the server, and open the file in a full featured text editor.
Emacs has Tramp, so you can open and edit the remote file right on your computer and emacs takes care of shelling into the server in the background and applying your edits.
C-x f ssh:me@public-server|ssh:me@private-server|sudo:private-server:/home/me
And it will just work, opening a dired view of the home directory on remote server, with root privileges. Further commands (e.g. opening files) will also work on the remote, mostly seamlessly.
Internally, Emacs manages shell connections and translates your operations to shell commands; e.g. opening a file will copy it over to your system, and saving it will copy the altered version back.