Closed VehementHam closed 2 months ago
A couple things:
INIT
event."<Left>"
etc.Thanks
vis.events.subscribe(vis.events.INIT, function()
-- Your global configuration options
-- key mappings
vis:map(vis.modes.NORMAL, "d", "<Left>")
vis:map(vis.modes.NORMAL, "h", "<Down>")
vis:map(vis.modes.NORMAL, "t", "<Up>")
vis:map(vis.modes.NORMAL, "n", "<Right>")
end)
Problem
When I try to change keymappings, they become very buggy, and do not do what they are supposed to.
Steps to reproduce
Try using Vis with the following config that changes keymappings:
vis version (vis -v)
vis 0.8 +curses +lua +acl
Terminal name/version
foot version: 1.17.2 +pgo +ime +graphemes -assertions
$TERM environment variable
xterm-256color