-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vim migration guide #1565
Vim migration guide #1565
Conversation
This is nowhere near done. I will continue working on it. Are there any good links about spacemacs i should add to this? |
I think you should convert it to Org, so later we can display it inside Spacemacs with Org which looks nicer than markdown, since Org is native to Emacs, similar to how Spacemacs change log is displayed. We can put a button below the Evil Tutor and Emacs Tutor buttons. Since Github can render Org, we should not have any problem displaying it on the web. |
I've never used org before :|. I'll finish it in markdown and convert it using pandoc. |
Well it's a good chance to learn. Org is easy:
You can replace Learning Org worth it, believe me. You can later use Org for more things, i.e. evaluate inline code, save internet links or local files or directory, or store magit commits to open later etc... |
The link doesn't work because it keeps markdown format and not converted to Org. You should store the link directly in Emacs with To insert with |
The correct link should look something like this:
That is the output of using Here is another exampple of direct URL:
You can have a look at the example README by @mkcode. Raw text |
5799d67
to
41c399b
Compare
Not a huge thing, but maybe you can avoid updating this PR every two minutes? It spams the gitter chat a lot. You can also force Travis to skip CI if you put |
@TheBB Sorry about that. I've been using github to preview it in the browser. Totally forgot about gitter :) |
Nice, some productivity key bindings:
|
You should also mention about the microstate. It seems like both Vim and non-Vim users are confused by it, since two people asked me yesterday that somehow Spacemacs changes "modes". |
@tuhdo Do you mean microstates in general or just the paste microstate? |
The microstate in general. |
f657966
to
8949001
Compare
Added: microstates, .spacemacs, adding layers, and creating layers. TODO: use-package, basic elisp |
I think this is good enough. For Elisp, we better use existing resources. For example, we could put a link to this 15 minutes Elisp tutorial in Org. Then we tell how to rebind keys. |
Some key bindings for table:
|
I was going to link to learnxinyminutes.com. Looks like it has the same tutorial :) I'm only going to go over basic things like setting variables, keybindings, and maybe calling functions. Edit: Decided not to do functions |
db364e6
to
97a3c70
Compare
Is there anything else I should add? |
Overall reads like an excellent guide. Well done! The only thing I think would be good to add is to specify the shortcut to open the config file when you discuss the |
It may be helpful to note that even though you can't run ex-commands with The keybinding for Perhaps a minor point, but in my experience vim users tend to use v and s as mnemonics for window splits, and will feel more at home with the It may be a good idea to mention |
648771c
to
c3f5dda
Compare
@syl20bnr I think this is ready to be merged. Any further improvements can be made in future PRs |
This is awesome! 👍 |
Reads well as a general overview tutorial though, even if you aren't coming from vim. Another thing that might be handy is a mapping for common vim plugins and functionality like @tuhdo gave in that one reddit thread (link is somewhere on gitter and /r/emacs history). That can be a later PR though. |
@trishume I added some parts of that answer that I think should be covered. |
f0b5758
to
759879a
Compare
Is this ready to be merged? It is really good. |
@trishume Yup! Its ready. |
Excellent work ❤️ Thank you ! |
Following outline in #773