Skip to content

user keymap not respected #1042

Closed Answered by Jint-lzxy
rickywu asked this question in Q&A
Discussion options

You must be logged in to vote

I only have these two files under user/keymap

You need to keep other files (e.g., user.keymap.lang) in this directory even if they do nothing b/c otherwise this pcall will fail silently:

local ok, mappings = pcall(require, "user.keymap.init")

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rickywu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants