mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Add center action to center the view on the cursor
This commit is contained in:
@@ -249,7 +249,7 @@ func main() {
|
||||
tabs = append(tabs, tab)
|
||||
for _, t := range tabs {
|
||||
for _, v := range t.views {
|
||||
v.Relocate()
|
||||
v.Center(false)
|
||||
if settings["syntax"].(bool) {
|
||||
v.matches = Match(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user