Always use current pane for keybinding actions

Fixes #1677
This commit is contained in:
Zachary Yedidia
2020-05-29 14:38:29 -04:00
parent 9b59e07b47
commit 8bd7e5807c

View File

@@ -124,6 +124,8 @@ func BufMapKey(k Event, action string) {
break
}
}
// if the action changed the current pane, update the reference
h = MainTab().CurPane()
}
return true
}