fix: increate pos by 1 at paste instead of 2

windows-fixes
TorchedSammy 2022-03-13 16:40:58 -04:00
parent e5b6a2586b
commit 5e505d0a8d
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -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()