salcode / ironcode-vim

A Vim Configuration focused on WordPress development and predominantly used on a Mac with Neovim
9 stars 1 forks source link

Update last yank register mapping to <leader>0 #198

Closed salcode closed 4 years ago

salcode commented 4 years ago

We currently have pasting from the last yank register mapped to <leader>p, since the last yank register is "0 (zero, not the letter O), I propose changing the mapping to <leader>0 (again, zero, not the letter O).

As a sidenote, I never use the <leader>p mapping and I'm hoping this new mapping will be one I'm more likely to use (while still maintaining a reminder of the non-mapped command so I can remember it on Vim without my config 😀)

salcode commented 4 years ago

Additionally, while it is tempting to map to only "0 without the paste (p) - I can not come up with anytime I use the "0 register without paste (capital P (paste on the line above) is the only thing I can think of and that comes up infrequently enough that I think it is worth making the p part of this mapping)