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

Adding option to start screen numbering from one #4

Open
4DA opened this issue Sep 1, 2013 · 1 comment
Open

Adding option to start screen numbering from one #4

4DA opened this issue Sep 1, 2013 · 1 comment

Comments

@4DA
Copy link

4DA commented Sep 1, 2013

Could we make it?

I tried with this but it obviously doesn't work:

diff --git a/elscreen.el b/elscreen.el
index 7e9c84b..f065940 100644
--- a/elscreen.el
+++ b/elscreen.el
@@ -736,11 +736,11 @@ when error is occurred."
nil)
(t
(let ((screen-list (sort (elscreen-get-screen-list) '<))

  •      (screen 0))
    
  •      (screen 1))
    
    (elscreen-set-window-configuration
    (elscreen-get-current-screen)
    (elscreen-current-window-configuration))
  •  (while (eq (nth screen screen-list) screen)
    
  •  (while (eq (+ 1 (nth screen screen-list)) screen)
     (setq screen (+ screen 1)))
    
    (elscreen-set-window-configuration
    screen (elscreen-default-window-configuration))
@jsntn
Copy link

jsntn commented Aug 24, 2020

I think this is also a good option for the users that use evil-tabs.
Like, '2gt' should go to the 2nd tab, while the number on that tab would show 1 as the screen numbering starts from 0.

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