Skip to content
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

Fail to map <C-S-HJKL> to resize splits #94

Open
fjchen7 opened this issue Feb 15, 2023 · 2 comments
Open

Fail to map <C-S-HJKL> to resize splits #94

fjchen7 opened this issue Feb 15, 2023 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@fjchen7
Copy link

fjchen7 commented Feb 15, 2023

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 fjchen7 changed the title Fail to map C-S-HJKL to resize splits Fail to map <C-S-HJKL> to resize splits Feb 15, 2023
@aserowy aserowy added help wanted Extra attention is needed question Further information is requested labels Mar 11, 2023
@theutz
Copy link

theutz commented Mar 23, 2023

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

@monkeyxite
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants