Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/backdround/tabscope.nvim
Manages buffers as tab-local buffers!
https://github.com/backdround/tabscope.nvim
Last synced: 14 days ago
JSON representation
Manages buffers as tab-local buffers!
- Host: GitHub
- URL: https://github.com/backdround/tabscope.nvim
- Owner: backdround
- License: mit
- Created: 2023-03-10T14:31:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-09T01:04:39.000Z (about 1 year ago)
- Last Synced: 2024-07-31T20:50:59.669Z (3 months ago)
- Language: Lua
- Homepage:
- Size: 50.8 KB
- Stars: 44
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - backdround/tabscope.nvim - Make tab-local buffers. (Utility / Cursorline)
README
[![Tests](https://img.shields.io/github/actions/workflow/status/backdround/tabscope.nvim/tests.yaml?branch=main&label=tests&style=flat-square)](https://github.com/backdround/tabscope.nvim/actions)
# Tabscope.nvim
It's a neovim plugin that turns `global` buffers into `tab-local` buffers.
So you can use buffers while have different contexts in different tabs.### Preview
![tabscope-preview](https://user-images.githubusercontent.com/17349169/224853800-0d79e1fa-d200-4a10-a41e-1a4f2524a1a7.gif)### Configuration
```lua
-- Initialize tabscope
require("tabscope").setup({})-- To remove tab local buffer, use remove_tab_buffer:
vim.keymap.set("n", "", require("tabscope").remove_tab_buffer)
```### Session limitation
There is no way to get info about hidden buffers that loaded by session. So all
hidden buffers are dropped after session loaded.### Inspired by
[scope.nvim](https://github.com/tiagovla/scope.nvim)