hiasr / vim-zellij-navigator

76 stars 4 forks source link

Alt centered config seems to sends Ctrl+<keycode> to nvim #5

Closed askobara closed 5 months ago

askobara commented 5 months ago

Hey there!

As I mention, with configs such below, I always getting "Ctrl-left" inside my nvim instance.

        bind "Alt h" {
            MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.2.0/vim-zellij-navigator.wasm" {
                name "move_focus";
                payload "left";
            };
        }
vim.keymap.set({ "n", "t" }, "<M-h>", function() print("Alt-left") end)
vim.keymap.set({ "n", "t" }, "<C-h>", function() print("Ctrl-left") end)

And thanks for the work!

hiasr commented 5 months ago

This is indeed the case. I will add configurable modifiers soon!

hiasr commented 5 months ago

Added in 0.2.1, you can reopen should there still be issues!