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

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
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
idi527
I’ve been re-reading swift book again and noticed that multiline strings there don’t have a trailing line break, unlike in elixir iex(2)...
New

Other popular topics Top

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New

We're in Beta

About us Mission Statement