Skip to content
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

Add Emacs switching guidance. #10452

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
- [Keymap](./keymap.md)
- [Commands](./commands.md)
- [Language support](./lang-support.md)
- [Migrating from Vim](./from-vim.md)
- [Migrating from other editors]
- [Vim](./from-vim.md)
- [Emacs](./from-emacs.md)
- [Configuration](./configuration.md)
- [Themes](./themes.md)
- [Key remapping](./remapping.md)
Expand Down
17 changes: 17 additions & 0 deletions book/src/from-emacs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Migrating from Emacs

Helix is a modal editor stronly inspired by Vim and Kakoune. Users of doom Emacs
will find it familiar. Helix follows the `selection → action` model. Where many Emacs
commands can work with the item under point Helix will require a selection first.
A cursor in Helix is simply a single width selection.

Helix has buffers too. <space>-b will let you shift between them.

Commands can be prefixed with numbers to change their behavior in much the same way
as C-u N <command> does in Emacs.

Registers in Helix work much like registers do in Emacs as well. Except there is
currently no mark saving and moving. Check out the jumplist for an alternative.

Many of the same behaviors from rectangle mark mode can be reproduced using multiple
cursors.