]>
Commit | Line | Data |
---|---|---|
1 | ## Overview | |
2 | ||
3 | * There are only currently two modes, normal mode and insert mode. | |
4 | * Motions have repeat support, `d3w` will delete three words. | |
5 | * Insert mode can be entered using `i`, `I`, `a`, `A`, `o`, or `O`. | |
6 | * The following commands are supported in insert mode: | |
7 | * `ctrl-y` to copy the character right above the cursor | |
8 | * `ctrl-e` to copy the character right below the cursor (**disabled by default**, see note 1 below) | |
9 | * Replace mode can be entered using `R` | |
10 | * Limitations: | |
11 | * If repeating with `.` gets a bit confused (e.g. by multiple cursors or when more than one line was typed), please report it with steps to reproduce if you can. | |
12 | * Registers are a work in progress | |
13 | * What Exists: | |
14 | * `a-z` - Named registers | |
15 | * `A-Z` - Appending to named registers | |
16 | * `*`, `+` - System clipboard registers, although there's no distinction between the two currently. | |
17 | * `%` - Current filename read-only register | |
18 | * `_` - Blackhole register | |
19 | * What Doesn't Exist: | |
20 | * default buffer doesn't yet save on delete operations. | |
21 | * Setting `wrapLeftRightMotion` acts like VIM's whichwrap=h,l,<,> | |
22 | ||
23 | ||
24 | #### Notes | |
25 | ||
26 | 1. To enable the VIM key binding `ctrl-e` to copy the character right below the cursor, please put this in your `keymap.cson`: | |
27 | ||
28 | ``` | |
29 | 'atom-text-editor.vim-mode.insert-mode': | |
30 | 'ctrl-e': 'vim-mode:copy-from-line-below' | |
31 | ``` |