elscreen icon indicating copy to clipboard operation
elscreen copied to clipboard

Adding option to start screen numbering from one

Open 4DA opened this issue 10 years ago • 1 comments

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))

4DA avatar Sep 01 '13 20:09 4DA

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.

jsntn avatar Aug 24 '20 16:08 jsntn