[erlang-questions] Erlang Text Editor Searching

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Tue Nov 27 12:35:52 CET 2018


On Tue, Nov 27, 2018 at 1:20 AM by <by@REDACTED> wrote:

> Which text editor do you use in daily life?
> I really want to get me into emacs world but found not quite easy, a
> suggestion about emacs extensions would be very helpful.
>
>
Most people start from a base of packages selected by someone else and then
changes those to their own liking. Look at e.g., 'prelude',
'emacs-starter-kit', or Bodil Stokke's 'ohai-emacs' for inspiration. My own
is probably not that neatly laid out[0]

If there is one package to recommend, it would be John Wiegley's
use-package. This package allows you to manage configuration of other
packages in a very streamlined fashion. If we have e.g.,

(use-package swiper
  :ensure t
  :after (ivy)

  :bind
  ("C-s" . swiper))

but we don't want that, we just set ":disabled t" and then all the
keybinding configuration is also gone. You can toggle packages efficiently
by doing this.

In the past, I've been really fond of:

* CygnusEd
* vi (and later vim)
* Acme (Plan9)

I also tend to like VS Code a lot. I have it installed on a windows box of
mine and I use it for text editing on that machine. But most of my real
work is done in Emacs nowadays. The key is to pick one editor and then
learn it well, including key bindings and efficient editing techniques.
Staying with one tool for a while will eventually pay off. Jumping between
editors tend to reset your experience, and that is going to be detrimental
in the long run.

All that said, however, you can program in any editor, and Erlang tends to
be succinct enough that it forgives even notepad.exe. This is not the case
with verbose languages, such as Java, which more or less require good
editor support or a full IDE.

[0] https://github.com/jlouis/jlouis-emacs-conf

-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181127/115fd569/attachment.htm>


More information about the erlang-questions mailing list