diff options
| author | Ben Beltran <ben@nsovocal.com> | 2015-07-10 11:12:25 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2015-07-10 11:12:25 -0500 |
| commit | 24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a (patch) | |
| tree | ded312222bb108923da1820ba40b04d710d20e5b /atom/packages/vim-mode/docs/operators.md | |
| parent | eb786e82d170e2abc351a432ade616d6ecdeeb6b (diff) | |
Adds atom
Diffstat (limited to 'atom/packages/vim-mode/docs/operators.md')
| -rw-r--r-- | atom/packages/vim-mode/docs/operators.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/atom/packages/vim-mode/docs/operators.md b/atom/packages/vim-mode/docs/operators.md new file mode 100644 index 0000000..d816daa --- /dev/null +++ b/atom/packages/vim-mode/docs/operators.md @@ -0,0 +1,43 @@ +## Implemented Operators + +* [Delete](http://vimhelp.appspot.com/change.txt.html#deleting) + * `vwd` - works in visual mode + * `dw` - with a motion + * `3d2w` - with repeating operator and motion + * `dd` - linewise + * `d2d` - repeated linewise + * `D` - delete to the end of the line + * `X` - delete the character before the cursor +* [Change](http://vimhelp.appspot.com/change.txt.html#c) + * `vwc` - works in visual mode + * `cw` - deletes the next word and switches to insert mode. + * `cc` - linewise + * `c2c` - repeated linewise + * `C` - change to the end of the line +* [Adding and subtracting](http://vimhelp.appspot.com/change.txt.html#CTRL-A) + * `ctrl-a` and `ctrl-x` in command mode to increase/decrease numbers in text +* [Yank](http://vimhelp.appspot.com/change.txt.html#yank) + * `vwy` - works in visual mode + * `yw` - with a motion + * `yy` - linewise + * `y2y` - repeated linewise + * `"ayy` - supports registers (named a-z, A-Z for append, *, +, %, _) + * `Y` - linewise +* Indent/Outdent/Auto-indent + * `vw>` - works in visual mode + * `>>` - indent current line one level + * `<<` - outdent current line one level + * `==` - auto-indents current line +* [Put](http://vimhelp.appspot.com/change.txt.html#p) + * `p` - default register + * `P` - pastes the default register before the current cursor. + * `"ap` - supports registers (only named a-h, pending more + advanced atom keymap support) +* [Join](http://vimhelp.appspot.com/change.txt.html#J) + * `J` - joins the current line with the immediately following line. +* [Mark](http://vimhelp.appspot.com/motion.txt.html#m) + * `m[a-z][A-Z]` - marks the current cursor position +* [Case](http://vimhelp.appspot.com/motion.txt.html#operator) + * `~` or `g~` - toggles case + * `gU`, or `U` in visual mode - changes to upper case + * `gu`, or `u` in visual mode - changes to lower case |