https://github.com/aburd/telescope-tabs
A telescope plugin for viewing and selecting your open tabs
https://github.com/aburd/telescope-tabs
Last synced: 5 months ago
JSON representation
A telescope plugin for viewing and selecting your open tabs
- Host: GitHub
- URL: https://github.com/aburd/telescope-tabs
- Owner: aburd
- License: gpl-3.0
- Created: 2024-04-24T15:19:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T13:42:00.000Z (about 2 years ago)
- Last Synced: 2024-12-31T05:16:41.711Z (over 1 year ago)
- Language: Lua
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
A [telescope](https://github.com/nvim-telescope/telescope.nvim) plugin for viewing your tabs and jumping to them. This plugin is written in fennel using the wonderful [nfnl](https://github.com/Olical/nfnl) made by Olical.

## Installation
You will need to have [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) installed.
Then install the plugin with any plugin manager. For example with lazy:
```
require("lazy").setup {
"aburd/telescope-tabs"
}
```
Then register the extension somewhere:
```lua
require('telescope').load_extension('tabs')
```
## Usage
Use in vim with `:Telescope tabs`.
Or setup a key binding:
```vim
nnoremap :Telescope tabs
```
## Config
```lua
local telescope = require("telescope")
local themes = require("telescope.themes")
telescope.setup {
extensions = {
tabs = {
theme = themes.get_ivy()
}
},
}
```
- `theme` - Any theme you would like the window to open up in. You can read more about [themes](https://github.com/nvim-telescope/telescope.nvim?tab=readme-ov-file#themes) on the telescope readme.