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

Support repeat window resize action #9227

Open
CWEzio opened this issue Aug 27, 2024 · 2 comments
Open

Support repeat window resize action #9227

CWEzio opened this issue Aug 27, 2024 · 2 comments

Comments

@CWEzio
Copy link

CWEzio commented Aug 27, 2024

Is your feature request related to a problem? Please describe.
Currently, I can use commands like c-w + > to resize the window. However, to increase the size change, I have to repeated type c-w + [key] commands, which is a bit of tedious.

Describe the solution you'd like
It would be nice to be able to repeat the resize window action. For example, c-w + 3 + > will resize the window for three times. This is supported in vim.

Additional context
This issue has been raised in issue #2044, this commend. However, that issue has been closed and it seems that this commend went unnoticed. Therefore, I create a new issue here. Another not implemented feature mentioned in this commend is that c-w _ to maximize the current pane's height and c-w | to maximize the current pane's width.

Besides, the resize window feature c-w + > hasn't been mentioned in roadmap.

@darianmorat
Copy link

Why not using something like this?:

{
      "key": "ctrl+shift+-",
      "command": "workbench.action.decreaseViewSize"
   },
   {
      "key": "ctrl+shift+=",
      "command": "workbench.action.increaseViewSize"
   }

No interruption with other shorcuts. And you will get even more control over the size window cause you can hold the keys and adjust the window to your need... If u use something like c-w + 3 + > and u don't like it, you should run again the command

@CWEzio
Copy link
Author

CWEzio commented Sep 27, 2024

Why not using something like this?:

{
      "key": "ctrl+shift+-",
      "command": "workbench.action.decreaseViewSize"
   },
   {
      "key": "ctrl+shift+=",
      "command": "workbench.action.increaseViewSize"
   }

No interruption with other shorcuts. And you will get even more control over the size window cause you can hold the keys and adjust the window to your need... If u use something like c-w + 3 + > and u don't like it, you should run again the command

This is a nice workaround. However, since commands like c-w + 3 + > is the vim native command, I think it would be good for vscode-vim to also support this command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants