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: about 1 month ago
JSON representation

Manages buffers as tab-local buffers!

Lists

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)