elscreen
elscreen copied to clipboard
Adding option to start screen numbering from one
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))
-
(elscreen-set-window-configuration (elscreen-get-current-screen) (elscreen-current-window-configuration))(screen 1))
-
(while (eq (nth screen screen-list) screen)
-
(elscreen-set-window-configuration screen (elscreen-default-window-configuration))(while (eq (+ 1 (nth screen screen-list)) screen) (setq screen (+ screen 1)))
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.