"Move lines" is triggered undesired when editing c++ project? #1291
Unanswered
lainegates
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use lazy.nvim for my c++ project.
A very very weird thing happen that

j
/k
will trigger "Move Line Up/Down" even in neo-tree.c++ line will be moved up/down when pressing
j
/k
after pressing<esc><esc><esc>
will move line up.But the thing doesnot happend other projects, e.g. python projects for .py/.sh/.txt/... files.
This behavior disappear when I comment shortcut-key for
<A-j>
/<A-k>
in~/.local/share/nvim/lazy/LazyVim/lua/lazyvim/config/keymaps.lua
What may cause this?
I don't want to change lazy.nvim repo, so I tried follow the official-doc to disable key-map for
<A-j>
/<A-k>
in~/.config/nvim/lua/plugins/custom.lua
, but failed.Beta Was this translation helpful? Give feedback.
All reactions