martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.26k stars 258 forks source link

How to switch windows/buffers with lua API? #987

Closed roguh closed 2 years ago

roguh commented 2 years ago

I'm trying to bind C- and C- to switch buffers.

ninewise commented 2 years ago
vis:map(vis.modes.NORMAL, "<C-Up>", "<vis-window-prev>")
vis:map(vis.modes.NORMAL, "<C-Down>", "<vis-window-next>")
roguh commented 2 years ago

Thank you!