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

Incremental resize (instead of using numbers) #141

Open
matiasmorant opened this issue Aug 12, 2018 · 2 comments
Open

Incremental resize (instead of using numbers) #141

matiasmorant opened this issue Aug 12, 2018 · 2 comments

Comments

@matiasmorant
Copy link

I would like that panes could be resized be pressing hotkeys instead of entering numbers

for example, in current pane,
["command+k", "-+rightarrow"] would decrease the size of the current pane by moving the right edge a fixed amount.
["command+k", "++uparrow"] would increase the size of the current pane by moving the top edge a fixed amount.

@adzenith
Copy link
Member

I don't think you can use - and + as modifier keys - you can only use the normal modifier keys. I also think it would be difficult to use this multiple times in a row; i.e. you would have to press ["command+k", "++uparrow"], ["command+k", "++uparrow"], etc., rather than ["command+k", "++uparrow"], ["++uparrow"], etc. (this is a limitation of Sublime Text).
I'm just not sure what a good set of shortcuts for this would be.

@matiasmorant
Copy link
Author

matiasmorant commented Nov 22, 2018

Gnome does it the following way for resizing windows (i don't know if it's possible in sublime)

Hotkey1 : enters window resizing mode
Then any number of times:
Arrows: select one of the four edges
+- : expand or shrink that edge
Esc: exit window resizing mode

Also I like the idea of having a shortcut for entering into "origami mode", to avoid having to press Command+k many times for doing several origami actions on a row. Vintage mode already implements stateful/modal functionality for sublime

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