Live data from Hacker News

Absolute Beginner's Guide to Emacs (2012)

jesshamrick.com

51–60 of 262 posts

Re: Absolute Beginner's Guide to Emacs (2012)

#51
post #33

There is a strange editing mode that I stumbled on by myself, which I can do in Emacs. Suppose I am editing a huge file, and need to make change in some other part without necessarily forgetting where I am. I just open a new buffer for the same file, edit the desired area, and close the new buffer. I have the old position restored automatically in the old buffer. Of course, this can be done to arbitrary number of lev…

MSVC IDE has menu Window -> New Window to mimic this iirc.

Re: Absolute Beginner's Guide to Emacs (2012)

#52
post #49
post #43

Earlier quoted context omitted.

:tabedit % will do that in vim. :tabclose to close the tab when you're done.

:split is another way to do it.

I think buffers/splits are considered a better option than tabs for this use case? I believe tabs are more for layouts of open buffers in splits rather than like browser tabs.

Re: Absolute Beginner's Guide to Emacs (2012)

#53
post #33

There is a strange editing mode that I stumbled on by myself, which I can do in Emacs. Suppose I am editing a huge file, and need to make change in some other part without necessarily forgetting where I am. I just open a new buffer for the same file, edit the desired area, and close the new buffer. I have the old position restored automatically in the old buffer. Of course, this can be done to arbitrary number of lev…

What you describe can also be done with one buffer and multiple windows that show the same buffer, and I do this all the time. The position of the cursor is associated with a window when multiple windows present the same buffer.

Re: Absolute Beginner's Guide to Emacs (2012)

#54

About four months ago I moved from VS Code to Spacemacs and it has been an extremely rewarding experience. Anyone who is afraid of Emacs or Vim should give it a try. I've heard good things about Doom and Prelude as well.

Did you have previous experience with emacs? I'm a long-time emacs user, but have been assuming it's better to introduce new people to VS Code since it's more mainstream.

Re: Absolute Beginner's Guide to Emacs (2012)

#55

I have yet to encounter anything that can match the sheer flexibility of Emacs. For example I am currently using Org mode to write some documentation complete with hyper-links, tables, foot notes and the option to export the results as LaTeX, HTML, Open-Office, and so on with just a few keypresses. It's not just an editor, or an IDE, or even a windowing system - it is a cross-platform computing environment that can b…

How much time have you invested?

I've invested lots of time, but it's enjoyable. It's not work.

Re: Absolute Beginner's Guide to Emacs (2012)

#58

Earlier quoted context omitted.

Not funny. Evil mode was released in 2013.

That's much more recent than I expected

There were other vi emulation modes before that. Vile was one. I believe evil is much better, though (I never used vi emulation before evil so I have no firsthand experience here).

Re: Absolute Beginner's Guide to Emacs (2012)

#59
post #5
post #2

I started using Emacs a few months ago and I love it. I think I'd struggle day to day now without Org Mode. I love how easily I can switch from something in Org Mode to something like a Clojure REPL, then to a Powershell window and to a text editor. If I can just get it doing C# editing / compiling I'd be very happy.

I started working in a .NET shop a few months ago and have finally sorta-kinda gotten my Emacs configured the way I want to in terms of C#. If there are any specifics you need help with, shoot me an email or something!

Would you post a gist of your config?

Re: Absolute Beginner's Guide to Emacs (2012)

#60

Earlier quoted context omitted.

VSCode is the first editor I've seen that has made me think maybe I'll move away from Emacs at some point. I think a fully tooled-up Emacs setup in the hands of an experienced user is still faster and more powerful but I do wonder if Emacs will be able to develop fast enough to keep up with the cutting edge.

As an Emacs user I'm mostly "afraid" of VSCode getting so popular that people will make cool tools targeting VSCode only. Like, it'll become the Chrome of text editors.

Editor trends seem to fairly volatile. Textmate was the new shiny favorite until it wasn't. Sublime was the new shiny favorite till it wasn't. Atom was the new shiny favorite... etc.
Post reply on HN