]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/docs/operators.md
Adds atom
[rbdr/dotfiles] / atom / packages / vim-mode / docs / operators.md
1 ## Implemented Operators
2
3 * [Delete](http://vimhelp.appspot.com/change.txt.html#deleting)
4 * `vwd` - works in visual mode
5 * `dw` - with a motion
6 * `3d2w` - with repeating operator and motion
7 * `dd` - linewise
8 * `d2d` - repeated linewise
9 * `D` - delete to the end of the line
10 * `X` - delete the character before the cursor
11 * [Change](http://vimhelp.appspot.com/change.txt.html#c)
12 * `vwc` - works in visual mode
13 * `cw` - deletes the next word and switches to insert mode.
14 * `cc` - linewise
15 * `c2c` - repeated linewise
16 * `C` - change to the end of the line
17 * [Adding and subtracting](http://vimhelp.appspot.com/change.txt.html#CTRL-A)
18 * `ctrl-a` and `ctrl-x` in command mode to increase/decrease numbers in text
19 * [Yank](http://vimhelp.appspot.com/change.txt.html#yank)
20 * `vwy` - works in visual mode
21 * `yw` - with a motion
22 * `yy` - linewise
23 * `y2y` - repeated linewise
24 * `"ayy` - supports registers (named a-z, A-Z for append, *, +, %, _)
25 * `Y` - linewise
26 * Indent/Outdent/Auto-indent
27 * `vw>` - works in visual mode
28 * `>>` - indent current line one level
29 * `<<` - outdent current line one level
30 * `==` - auto-indents current line
31 * [Put](http://vimhelp.appspot.com/change.txt.html#p)
32 * `p` - default register
33 * `P` - pastes the default register before the current cursor.
34 * `"ap` - supports registers (only named a-h, pending more
35 advanced atom keymap support)
36 * [Join](http://vimhelp.appspot.com/change.txt.html#J)
37 * `J` - joins the current line with the immediately following line.
38 * [Mark](http://vimhelp.appspot.com/motion.txt.html#m)
39 * `m[a-z][A-Z]` - marks the current cursor position
40 * [Case](http://vimhelp.appspot.com/motion.txt.html#operator)
41 * `~` or `g~` - toggles case
42 * `gU`, or `U` in visual mode - changes to upper case
43 * `gu`, or `u` in visual mode - changes to lower case