Skip to content

Map key doesn't work #4

Answered by adoyle-h
x2c3z4 asked this question in Q&A
Discussion options

You must be logged in to vote

Because configFn is invoked before all plugins' config functions, and bkad/CamelCaseMotion plugin is enabled by default. Key w is binding to <Plug>CamelCaseMotion_w.

You can disable it by plugins = {'bkad/CamelCaseMotion', disable = true}, or put vim.keymap.set after one.nvim setup.

require('one').setup {}
vim.keymap.set("n", "w", "iw", {noremap = true}) 

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by adoyle-h
Comment options

You must be logged in to vote
0 replies
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