OvermindDL1

OvermindDL1

Ah, heh, yeah p is p to me and P is Shift+p in my mind. ^.^

0
Post #51
NobbZ

NobbZ

Only when I do emacs notation as in C-p and C-P…

1
Post #52
LawJolla

LawJolla

I use both VS Code and IntelliJ (Webstorm). I think VS Code has the better Elixir plugin.

0
Post #53
jszod

jszod

I use Emacs with Alchemist. Atom crashes too often while writing Elixir code, and my fingers could never quite memorize the VIM key mappings, especially when I walked away from coding for a while. Somehow the Emacs key mappings seem to “stick” for me, and Alchemist is an amazing plugin for having a single interface to a full featured development environment.

0
Post #54
mkunikow

mkunikow

One plus for VS Code as editor but plugin for Elixir is also not so great. I don’t know if something can beat Alchemist. Maybe someone will write plugin for VS Code with Alchemist support :slight_smile:

Correction
I see there is something related to Alchemist (Implemented autocomplete and goto-definition)
https://github.com/mat-mcloughlin/vscode-elixir

0
Post #55
AstonJ

AstonJ OP

For those of you who have used Vim in the past but have’t given SpaceMacs a good go yet, I urge you to try it!

I’ve been setting it up myself these past few days and I think I am already in love :049: I’ve also updated our wiki so that it’s an excellent starting point that will get you set-up in no time: Spacemacs - General Discussion, Blog Posts, Wiki

Make sure you use the Elixify theme as well - it makes a difference, even if I do say so myself :lol:

If you want a taste of why you might want to use it, check out this video that @mkunikow posted on the forum earlier today:

1
Post #56
jmitchell

jmitchell

I’m a plain old Emacs user and never latched onto Vim, but this video convinced me to give it a try.

Apparently the Meta commands still work (see when he opens eshell). Learning the Vim-inspired commands and configured commands for integrating with Emacs tools will be easier due to the suggestion buffer that pops up after pressing the leader key.

It may take a while to get used to reaching all the way up to the ESC key all the time, but I bet that can be reconfigured easily.

Does Spacemacs play well in both the terminal and GUI?

1
Post #57
AstonJ

AstonJ OP

Is there any benefit in using eshell? Unfortunately it does not honour my .bash_profile (the ‘normal’ shell does now that I created a .bashrc file though).

When I launch from terminal with emacs I get the same thing as opening from my dock - which is different to Vim which actually opens inside the terminal window. Ok just looked, and you can open it inside terminal with emacs --no-window-system - when I do that it ignores my theme but seems ok otherwise.

0
Post #58
jmitchell

jmitchell

It’s a mixed bag. In practice I often use it for brief ad-hoc tasks and a “real” terminal emulator for longer running tasks like a Phoenix server or tasks that don’t involve Emacs. It’s great if I need to quickly poke around directory trees, cat files, delete files, etc. Dired can do some of that too, but it tends to create a lot of buffers and I’m already comfortable with the shell.

My default shell in Ubuntu is currently zsh, and elisp respects that. It even loaded the environment variables configured in my ~/.zshrc. I’m not sure whether it’s inferior to an external terminal in any way other than being slower. Emacs isn’t very good with concurrent tasks, unfortunately.

Other benefits off the top of my head include elisp evaluation and a full-blown Emacs editing experience. In a vanilla terminal if I want to search the stdout of some command, for instance, I often end up running it again with a pipe into less so I can use the ‘/’ search command. In eshell I can use all the standard Emacs features by default. Readline support in terminals goes a long way, but it’s not quite the same as having an Emacs buffer.

Excellent. I tend to use emacs -nw when I want a terminal session; otherwise, it defaults to GUI like you said.

1
Post #59
AstonJ

AstonJ OP

Are there any downsides (particularly in terms of performance or cpu usage) if I have long running tasks such as the web server inside a ‘normal’ shell? If not I’ll be happy to stick to that :slight_smile:

0
Post #60