tmux.nvim icon indicating copy to clipboard operation
tmux.nvim copied to clipboard

Fail to map `<C-S-HJKL>` to resize splits

Open fjchen7 opened this issue 2 years ago • 2 comments

Here is my configuration

return {
  "aserowy/tmux.nvim",
  event = "VeryLazy",
  opts = {
    resize = {
      enable_default_keybindings = false,
    }
  },
  config = function(_, opts)
    local tmux = require("tmux")
    tmux.setup(opts)
    map("n", "<C-S-H>", "<cmd>lua require('tmux').resize_left()<cr>", "resize")
  end
}

But nothing happen when I press <C-S-H>. Is it a limitation of tmux to bind <C-S-*> keys?

fjchen7 avatar Feb 15 '23 03:02 fjchen7

Just out of curiosity, do you use Kitty as your terminal?

theutz avatar Mar 23 '23 07:03 theutz

Just out of curiosity, do you use Kitty as your terminal?

For my case, yes.

Seems like M-x for resizing works fine, while C-x(hjkl) doesn't. And the kitty windows jumping via vim-kitty-navigator by pressing C-x(hjkl) is fine...

monkeyxite avatar Jul 22 '23 20:07 monkeyxite