XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 596 forks source link

Cut/copy/paste do not use registers #132

Closed kabuko closed 12 years ago

kabuko commented 12 years ago

I haven't looked into the way @dojoteef implemented macros, they seem to be stored in register-like things if not registers. However, (there are registers, see #31) Cut, copy and paste don't seem to use registers. For example "ayiw should yank the inner word in the a register. There's also default behavior for special registers like 0 to 9 and " (probably others too).

dojoteef commented 12 years ago

I added basic support for registers and added all the registers that vim has. I just have not had a chance to hook them all up. I also did not add support for the " operator to operate on registers. Look at the init function in XVim.m to see all the registers that are available (including read only ones like : register).

kabuko commented 12 years ago

Sounds good, I'll rename the issue.