Vimr: Use custom tabs

Created on 23 Nov 2016  ยท  15Comments  ยท  Source: qvacua/vimr

  • Use Sierra's native tabs?
  • Use a tab framework? What are the options?

Most helpful comment

Yes, just ... need ... some ... more ... free ... time ... ๐Ÿ˜Œ

All 15 comments

I would love to use native tabs instead of Vim tabs, like MacVim does (I guess with a preference option). Using Sierra native tabs would be great as every tab framework I've seen has been a bit dodgy e.g. MacVim uses some framework but tabs can only be dragged left, dragging right doesn't work and other weird bugs.

Not so worried - most of the time I have vimr running in fullscreen and am quite happy with vim tabs.
As note by @sfcgeorge, if this could be implemented with a preference option then that would likely work for everyone.

If vimr could implement tabs like the guys over at iterm2 are currently testing out that would be dope!

Also just the darkmode feature on it's own seems nice...

For people coming from MacVim (I'm looking at you, me) the tab widget is the first thing they (we) notice. Looks kinda janky.

Yes, just ... need ... some ... more ... free ... time ... ๐Ÿ˜Œ

I second iTerm3 tabs -- they're absolutely flawless, and very beautiful (both light and dark, like the image above). It's the main reason I want to switch away from MacVim... The other reason is how frustrating it is that MacVims outer window doesnt line up per pixel, so its always off by a few pixels when I use a window manager

Is this even remotely on a roadmap somewhere? I love VimR so much more than macvim except on this 1 area ๐Ÿ‘

@qvacua please add this feature for the native tab.

Until this feature makes it in, is there a quick hack I can do to toggle between open tabs with โŒ˜โ‡ช] and โŒ˜โ‡ช[ (essentially map these shortcuts to a vim's :tabn and :tabp)

@muxcmux Try adding this to your config.

  nnoremap <S-D-{> :tabp<CR>
  vnoremap <S-D-{> :tabp<CR>
  inoremap <S-D-{> :tabp<CR>
  nnoremap <S-D-}> :tabn<CR>
  vnoremap <S-D-}> :tabn<CR>
  inoremap <S-D-}> :tabn<CR>

@rickyc you're a legend!

Improvements like keyboard shortcut for certain actions will follow soon.

Wonderful feature, great!!! Some comments:

  • It looks the preference of whether to use custom tab implementation would be in effect only after restarting VimR. I would suggest to have a note like "Restart required" in the preference panel.

  • How can we change highlight groups for those custom tabs? For me, there is a slight glitch on the foreground/background color (which are all white). FYI I am using vim-xtabline plugin and its default theme.

image

@wookayin

  1. It should be sufficient to open a new window, but, yes, I'll add a note.
  2. I think it'll be impossible (for me) to choose the correct colors for all colorschemes. I guess, we'll need a UI where the user can set the colors.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

tjdoc picture tjdoc  ยท  6Comments

pjg picture pjg  ยท  8Comments

risentveber picture risentveber  ยท  4Comments

qvacua picture qvacua  ยท  7Comments

laur1s picture laur1s  ยท  5Comments