8

Having a crack at switching from vim to emacs, my understanding of the major differences are as follows

* departure from modal editing
* emacs provides a more comprehensive environment
* More powerful scripting capability,
* my pinky will complain,
* I might just about to enter a new church

Any advice for a newb? Hoping there's a few of you out there

Comments
  • 2
    God bless you. I could never make the departure because of the pinky problem.

    I was instantly like.

    You want me to do what with my what?
    I already know Vim, fuck this shit I'm never going back, please Vim I was stupid. Don't leave me.

    But best of luck! I'm awaiting a full report in a couple of weeks.
  • 1
    @amatrelan

    Here's a reference of all commands in emacs.

    https://gnu.org/software/emacs/...

    All the C- is where you press Control + something.

    Which you usually do with your left pinky. Which means if you aren't used to stretch down your left pinky that often. It hurts.
  • 3
    Could make foot pedals for the ctlr / meta keys
  • 1
    @RantSomeWhere kind of want to go right in and get reasonably proficient with vanilla then decide whether I still prefer the "low level" experience of vim.
  • 2
    cool! what are you going to use it for? Are you going to code some lisp by any chance? :D
  • 2
    @hasu I want to do clojure/script and if I want to start extending emacs I can do some elisp too.
  • 1
    Install:

    * nerdtree (shows directory structure)
    * ycmd (auto completion for various languages like c(++), rust, go, python, etc)
    * I really recommend Rebecca, exotica, ariake dark, Dracula, and gruvbox-dark-hard color schemes

    Have fun 😁😁
  • 1
    @Electrux thanks

    Few questions

    1) how do I install packages?
    2) how do I switch to spaces rather than tabs
    3) how do I set tab width
    4) how do I execute commands? (I tried M-x but doesn't seem to work)
  • 0
    I'm finding learning curve for this is harder than vim. Not that that's putting me off that much, I know what I'm getting myself into
  • 1
    @Hedgepig
    1. M-x is the way to go for installing packages

    2. https://github.com/Electrux/... set indent-tabs-mode to nil ( not sure about nil though

    3. Same line as above ( see the entire config if you want )

    4. M-x should work... it will be alt or meta/super/windows key
  • 1
    Thank you @Electrux, your help is appreciated

    When I go M-x then something like

    (set...) I can't put a space after it, and it says "no match". Not sure what I'm meant to put there to either install or set variables. Yes that much of a newb
  • 0
    @Hedgepig glad to b helpful 😊
  • 0
    This article is helping lots: https://braveclojure.com/basic-emac...

    it's starting to click why emacs is awesome and what I've always found frustrating with vim, emacs is a lisp environment that happens to load code editing capabilities.

    Vim has always felt adhoc when it comes to scripting, emacs is built out of scripting, with one of the most powerful and elegant types of programming language.

    Respect to Mr. Stallman
  • 0
  • 1
    @Hedgepig nice. I use it for roslisp. Did some clojure a while ago but don't remeber much of it.
    Emacs takes a long time getting used to. I had post-its all over my notebook with emacs commannds xD
Add Comment