-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swap didn't work #17
Comments
I can't reproduce it. Did this happen with minimal config (just clean nvim and |
Looks like you just did not install the parser for |
actually I have already installed it,Already restarted 2024-05-30.20.21.34.mov |
Does this happen if you change the mappings? Some terminals may not handle CTRL keys correctly. I run minimal config with the same Neovim version and everything works correct. (kitty/iTerm2) |
I use kitty terminal then I tried changing the shortcut key to ctrl+1 or alt+1 but it didn't work. |
So far I have no idea why plugin doesn't work. I can't reproduce this bug under the same conditions. Try calling the plugin directly: |
I also had trouble with the @edte Can you try the following? vim.api.nvim_set_keymap("n", "<a-2>", "<cmd>lua require('sibling-swap').swap_with_right()<CR>")
vim.api.nvim_set_keymap("n", "<a-1>", "<cmd>lua require('sibling-swap').swap_with_left()<CR>") (Another useful thing to try is the WhichKey plugin. Running ":WhichKey" will let you know if your keymapping was successful or not, so you can rule out if that's the cause of the problem.) |
@edte if you are using iTerm, then you need to turn off this setting
|
nvim version
plugin version
plugin configuration
i use lazy.nvim plugin manager
Swap doesn't work
2024-05-30.11.54.22.mov
The text was updated successfully, but these errors were encountered: