1. Frank Fischer
  2. evil
  3. Issues
Issue #136 resolved

Tab support would be great

Anonymous created an issue

It would be great if evil would support VIM's tabs. AFAICS, these are similar to the notion of emacs' buffers. They are opened and closed through :tabe(dit) and :q respectively, which makes them behave a little differently from VIM's buffers. Their nice feature is that they are displayed (just like say Firefoxen's tabs) with a clickable name above the edit space.

Comments (3)

  1. Frank Fischer repo owner
    • changed status to open

    Do you know tabbar mode? This package simply shows buffers in a tabbar (therefore :tabe makes no sense)

    Or perhaps ElScreen?

    I have no idea which one is better or more appropriate.

    Note that there will probably be no Evil-builtin tab bar (at least in the near future, maybe never)... it's just too much work and has not really something to do with editing features. Thus I think tabs should be a separate package anyway (independent from evil), i.e. something like tabbar-mode or elscreen (even if both do not fit your needs, they may be good starting points).

  2. Anonymous

    Elscreen works great for me in combination with evil for tabs:

    (define-key evil-normal-state-map (kbd "C-w t") 'elscreen-create) ;create tab

    (define-key evil-normal-state-map (kbd "C-w x") 'elscreen-kill); kill tab

    (define-key evil-normal-state-map (kbd "g T") 'elscreen-previous) ;previous tab

    (define-key evil-normal-state-map (kbd "g t") 'elscreen-next) ;next tab

  3. Log in to comment