mirror of https://github.com/Hilbis/Hilbish
fix: increate pos by 1 at paste instead of 2
parent
e5b6a2586b
commit
5e505d0a8d
|
@ -194,7 +194,7 @@ func (rl *Instance) vi(r rune) {
|
|||
case 'p':
|
||||
// paste after the cursor position
|
||||
rl.viUndoSkipAppend = true
|
||||
rl.pos += 2
|
||||
rl.pos++
|
||||
|
||||
buffer := rl.pasteFromRegister()
|
||||
vii := rl.getViIterations()
|
||||
|
|
Loading…
Reference in New Issue