Qqwy

Qqwy

TypeCheck Core Team

How to learn Spacemacs as a vim/emacs newbie?

I have used Sublime Text for a long time now. (Before that, I used Notepad++ for an equally long time. When I was still using Windows.)

However, I have seen many people on this forum talk very enthusiastically about Spacemacs, and I really like the idea of being able to control all of my computer without touching my mouse. I love the idea of key bindings. These last three years, I have been depending on the terminal for more and more of my daily tasks.

Therefore, I decided that I wanted to learn how to use Spacemacs.
So, I installed it and tried to learn it. However:

  • The emacs starting tutorial is hard to follow, as spacemacs has rebound nearly all of even the most basic commands.
  • The evil-mode starting tutorial presumes that you have a background in vim, emacs or both.
  • When I try to perform some emacs command, it turns out I am actually in some weird vim-mode and the keypresses do not do what I think they should be doing.
  • None of my prior knowledge of keybindings (Ctrl+C to copy, Ctrl+X to cut, Ctrl+V to paste, Ctrl+Z to undo, Ctrl+Y to redo, Ctrl with arrow keys to move between words, Shift with arrow keys to select larger portions of text, etc) applies here.

So, in summary: Help!

I feel like this is a very powerful tool, but I have absolutely no idea how to get started.
What would be a good way to learn Spacemacs, as someone who knows their way around the terminal and Sublime Text, but has no clue about both Vim and Emacs?

Thank you :slight_smile:

~Wiebe-Marten/Qqwy

Most Liked

Oxyrus

Oxyrus

If you want to use it in evil mode, there is a game to learn the key bindings http://vim-adventures.com

Practice, it’s super cool to use only your keyboard :slight_smile:

jbr95

jbr95

Hi Qqwy! I’m in the same boat you were in when you posted in September 2016! I’m trying to decide how to get started with emacs/spacemacs, coming from Notepad++ and Sublime Text. My main motivation is based on being excited by what I’ve read of org-mode… can’t wait to try it! :slight_smile:

It looks like by October that you were happy with Spacemacs. I’m going to to this way, too.

My question is: upon first installation, you are asked whether to use full vim/evil mode (default) or the emacs/evil hybrid mode. Which did you use? What would you recommend, two and a half years later?

NobbZ

NobbZ

If you have no background on vim, choose the emacs mode on first install, this way you have only to learn emacs bindings, and you can ignore all that edit/read-mode stuff, that in my opinion often confuses. As I do read your history in editors, you are used to type, not to mode-switching.

After you have choosen the emacs-flavored spacemacs, you can safely follow the emacs tutorials.

And you will get used to the context-switching between emacs and the outer world, when it comes to bindings. You will totally not realize the popping “save as…” window of your browser when you want to search something, you just hit cancel without even noticing. It will feel some day as if C-s ESC C-f is the native keybinding for searching on the current website :wink:

You will also get used to all the other key bindings and you will be able to switch back and forth depending on the active application.

peerreynders

peerreynders

It’s a bit rough but I went cold turkey to vanilla EMACS (VIM just didn’t gel with me).

Basically make a cheat sheet with your most common editing tasks (like on a note on your smart phone or the like) and google all the emacs equivalent steps (install all the modes you need by whatever means necessary - the “all-in-one packages” tend to be a bit overwhelming, so I’d go one at a time as you need them).

And then basically stay away from any other editor for a long while (while continually updating your cheat sheet and configuration). It’s a bit painful in the beginning but after a while the pace picks up a bit.

OvermindDL1

OvermindDL1

Don’t play down how useful VIM modes are, it simplifies a lot of work and a lot of commands. ^.^

/me is a heavy vim user

Where Next?

Popular in Questions Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
Kagamiiiii
Student & New to elixir. Nice language. I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
Fl4m3Ph03n1x
Background Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
gonzofish
I’m currently trying to understand how to join three tables using Ecto. All the examples I’ve seen use 2, so maybe I’m just missing somet...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
wernerlaude
In AR this is so simple @articles = current_user.articles How to do in Ecto? def index(conn, _params) do current_user = conn.assig...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New

We're in Beta

About us Mission Statement