p key pastes on a new line instead of just "Paste"
Bug #583822 reported by
Yuriy Voziy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ViGedit |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In Vim the "p' key is pasting text right where the cursor is located, this correct and expected behaviour and also this alows to do
some tricks like:
"xp" - swap chars in word
"xwp" - swap words in string
vigedit pastes text from the new line which is unexpected behaviour for the "paste" command and also breaks previous vim experience.
To post a comment you must log in.
I've found how to almost fix this but I'm not as good enough with python
./bindings/ command. py :line22
self.reg( act.text. paste_Clipboard Below, act.gtk.keysyms.p, after=act. modes.command, pos=True, **self.fr) reg(act. getMenu( 'paste' ), act.gtk.keysyms.p, after=act. modes.command, pos=True, **self.fr)
Replace with :
self.
But this behaviour is similar to Vim's "Shift+p" action which pastes before the cursor, not after it.
How can I paste after the cursor?