Shouldn't pasting be done with pp instead of p by default? It would be more consistent with vi.
I'm not aware of any vi version that has pp instead of p. If you refer to commands like dd and DD, then there isn't much sense in this either. When removing (or doing any operation on multiple files) you specify both action and its scope (second d in dd means "current item"), so you have multiple versions of the command:
- da (delete all)
- dj (delete this element and the one below)
- ds (delete selected items)
- dfb (delete all elements in the range from current item till the first file that starts with
b
)
- and so on.
It's different with put command, which has basically one meaning: put here. That's why it doesn't need any modifiers.
how can I do it?
Just remap it:
nnoremap pp p