https://github.com/backdround/tabscope.nvim
Manages buffers as tab-local buffers!
https://github.com/backdround/tabscope.nvim
Last synced: 4 months 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 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T01:04:39.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T20:50:59.669Z (12 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)
- awesome-neovim-sorted - backdround/tabscope.nvim - local buffers! | (Utility)
- awesome-neovim-sorted - backdround/tabscope.nvim - local buffers! | (Utility)
README
[](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
### 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)