Vim plugin to fuzzy search tabs opened in all the browser windows and switch.
  • Vim Script 84.8%
  • Shell 15.2%
Find a file
2020-02-05 11:37:49 +05:30
.github add: GitHub issue template 2019-11-16 13:52:34 +05:30
doc add: documentation 2019-11-16 13:52:21 +05:30
plugin add: floating window with border 2020-02-05 11:37:49 +05:30
.gitignore add: gitignore file 2019-11-16 13:52:47 +05:30
README.md fix: formatting 2019-11-16 15:19:19 +05:30

vim-browser-tabs

Vim plugin to fuzzy search tabs opened in all the browser windows and switch.

Demo

Installation

Plugin Manager Install with...
Pathogen git clone https://github.com/vipul-sharma20/vim-browser-tabs ~/.vim/bundle/vim-browser-tabs
Remember to run :Helptags to generate help tags
NeoBundle NeoBundle 'vipul-sharma20/vim-browser-tabs'
Vundle Plugin 'vipul-sharma20/vim-browser-tabs'
Plug Plug 'vipul-sharma20/vim-browser-tabs'
VAM call vam#ActivateAddons([ 'vim-browser-tabs' ])
Dein call dein#add('vipul-sharma20/vim-browser-tabs')
minpac call minpac#add('vipul-sharma20/vim-browser-tabs')
manual copy all of the files into your ~/.vim directory

Configuration

  • This plugin mandatorily requires fzf.vim. Please find the installation instruction for it here

  • Browser name to fetch tabs from. Eg: Chrome Browser, Brave etc.

    let g:browser_tabs_default_browser='Brave'

  • Window layout for browser tab list result. Can be 'default' or 'floating'

    let g:browser_tabs_window_layout='floating'

Note: Floating window layout support is only possible in Neovim version >= 0.4.x.

Documentation

:h vim-browser-tabs

or check here

Commands

Command List
GetBrowserTabs Fetches all the opened tabs from the browser

I recommend you to check documentation for better understanding

Notes

  • At this point, this plugin only works on MacOS since I am using a little AppleScript.
  • This plugin was tested on Chrome Browser and Brave.

Therefore the next features in priority are:

  • Make the plugin compatible with Linux first and then Windows.
  • Add support for Firefox.

Screenshots

Floating window view

floating

Default view

default

License

MIT