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

add an alternative function of winum-select-window-by-number #14

Open
casouri opened this issue Feb 28, 2018 · 2 comments
Open

add an alternative function of winum-select-window-by-number #14

casouri opened this issue Feb 28, 2018 · 2 comments

Comments

@casouri
Copy link

casouri commented Feb 28, 2018

Currently if you want to jump to window2 with (winum-select-window-by-number ) and and there is no window 2, there will be a error warning you there is no window 2 and nothing happens. What if you can just call a function like (winum-jump-or-split 2) and if there is no window 2, you can split the screen how ever you like and jump to the new screen?

I did something like that as show below. SPC 1-9 is bind to that winum-jump-or-split

split-to

When I hit SPC 2 and there is no window two, I was instructed to hit h/j/k/l to split screen to left/down/up/right. When I hit "l" thw screen spitted to right.
And when there is a window 2 I just jump to that window.
Note: If there is 2 window and you hit SPC 4 and spitted screen, the new window will be marked number 3 instead of 4.

Do you think it's worth adding to winum as an alternative of winum-select-window-by-number?

@casouri casouri changed the title add winum-jump-or-split function add an alternative function of winum-select-window-by-number Feb 28, 2018
@deb0ch
Copy link
Owner

deb0ch commented Feb 28, 2018

Why not send a PR ? That sounds like an interesting idea that deserves investigating 😸

@casouri
Copy link
Author

casouri commented Feb 28, 2018

I thought I'll PR if you like it. 😄

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